C++ Compile Bugs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 24: | Line 24: | ||
<p> | <p> | ||
[[File:Unable_to_start_debugging.png]] | [[File:Unable_to_start_debugging.png]] | ||
<p> | <p><P> | ||
[[File:Set_As_startup_project.png]] | [[File:Set_As_startup_project.png]] |
Revision as of 16:03, 25 April 2025
UObject" has no member "BeginPlay" errors?
My solution was I was using BlueprintCallable instead of BlueprintReadWrite,I had duplicate Variable names
If unreal doesn't generate a generated.h file than when you added the class to the project
it failed to compile, the generated.h files are created when you compile the projected then added
Solution: Recompile the project and make sure it actually compiles before added header files.
You need to right click your Game Project in the Solution Explorer and select , "Set as Startup Project"