Every time I compile, random BP data gets reset
Since upgrading to 4.18, I have been experiencing the following issue: every time I compile my C++ code, random UPROPERTY(EditDefaultsOnly) variables in my BluePrint classes get reset to their default values. The BluePrints that get reset aren't necessarily based on classes I edited before compiling. This happens nearly every time I compile. I didn't experience this in 4.17, 4.16, or 4.15.
Is anyone else experiencing this?
asked Nov 12 '17 at 06:18 AM in C++ Programming
This is a HotReload bug. It happens when you change the header file for an object and HotReload compile.
After you've recompiled with hot reload you can exit the editor and re-launch it. This will prevent HotReload from resetting your BP values.
answered Aug 29 '18 at 07:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here