Game Instance - Unresolved External Symbol
I'm pretty new to C++, and following through a tutorial book which has got me creating a new Game Instance class (RPGGameInstance), but I'm having an error each time I try to compile.
Here's what I've got in the header file:
I can't see anything wrong with it, and I've used ObjectInitializer in the exact same way for another class, and it works perfectly.
When I hover above the "UCLASS()" declaration, Intellisense says "this declaration has no storage class or type specifier", and when I hover above the "class" declaration below it, it says "expected a ;".
When I look at the UE4 Message Log, I get this:
Does anybody have any idea what's going wrong here?
Any information will be appreciated!
asked Apr 16 '16 at 03:19 PM in C++ Programming
Well, typically after asking for help, I found out the issue. I just needed to put this into the .cpp for that class:
answered Apr 16 '16 at 03:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here