I keep getting that error when hot-reloaded after I added a custom c++ scene component to my actor blueprint. It resets all the settings for that component. Is there any way around it?
I think it’s related to this Unreal Engine Issues and Bug Tracker (UE-64076) and Unreal Engine Issues and Bug Tracker (UE-35870) bug and maybe perhaps this Unreal Engine Issues and Bug Tracker (UE-52220)
Here is a better temporary workaround that fixes the bug temporarily.
-
Delete the following folders from your project:
.vs
Binaries
Intermediate
Saved
*.sln -
Then right-click the .uproject and select “Generate Visual Studio project files”.
-
Open the *.uproject and let it generate and build all the editor files again.
-
Compile and redo lighting.