I am trying to create a C++ class that will give me access to functions and variables via blueprints. However I don’t seem to be able to make my changes to the editor persistent. My steps are as follows (I am running a Mac with El Capitan and v 4.9.2 of the editor):
- In UE4 Editor, add a new C++ Class
- Open the XCode project that is automatically generated
- Fill in my C++ code in .h and .cpp files
- Compile using the profile for (MyProjectName)Editor - mac
- Compile succeeded
- Return to UE4 editor and I can see the variables I created in my C++ file when I create a new blueprint based on that class.
However, the problem is that when I save my project, then quit and reopen it, none of the variables or functions I created are valid and I get errors (in the UE4 editor). Is there a step I’m missing here to make the changes permanent/persistent?