Engine thinks Property is not set when set in Editor
Currently I have a UPROPERTY in a C++ class as follows:
This serves as a reference to this actor's bed.
Then, in game, I set the dropdown list to the proper actor. This is fine for a while.
However, after a few compiles or a certain amount of time (I am unsure what triggers this) I get the following error:
If I simply hit "compile" in the offending blueprint, all is fixed (even though there was no change), but this is quite annoying if I have many blueprints that use this variable.
This tends to especially happen in blueprints relating to behavior trees (BTT, BTS, etc).
Is this an issue with HotReload/UE4 compiling? Or is there another way to get around this?
Here's an image showing that the property is set despite the error:
Har to tell but yes could be Hotreload related. Close the Editor Compile your Project from VS. Try again. If that did not do the trick nuke the Intermediate folder and Compile from VS again. Report back if that solved it for you.
answered Jul 16 '17 at 01:19 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here