Can't use hot reload for plugin and Actor class UE4
First, I created a C++ class interhited none to create maze generator. Then I saw, that hot reload need at least 1 gameplay object(Actor, Gamemode etc.). I created an Actor class(there was some problems from this topic), but hot reload also gives me a
(comments are locked)
|
Be the first one to answer this question
Follow this question
Once you sign in you will be able to subscribe for any updates here
A maze generator class hasn't UCLASS() mark, but Actor class has it.
You can't hot reload plugins, you need to restart the editor or do it from modules window.
What you want to say me in "restart the editor". How can it help me? In modules window I can't find any my class
Do you have your code inside a plugin?
No, becasuse when I add an UCLASS() and GENERATED_BODY(), VS2017 returns error, because I can't find and inlcude .generated.h file.
Help, please!
When running a project from IDE, in the output log you should see smth like enabling unity mode because of the "file name", you should then check all includes in that file.