When a hot reload is preformed, the CDO is not properly cleared. This causes a copy of the class to be generated with both the original and copy triggering calls.

Workaround: Preforming an additional compile from inside the editor will remove the "ghost" CDO information.

Steps to Reproduce
  1. Download attached project
  2. Right click on .uproject to generate visual studio files
  3. Open .uproject
    • Note warning spam in project ouput log
  4. Open project solution
  5. Open MyObject.cpp
  6. Change UMyObject::IsTickableInEditor() to return false
  7. Compile (hot reload)

Output log shows two objects (Object ID 1 and Object ID 2)

Only one object exists after hot reload.

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

Login to Vote

ComponentCore - Hot Reload
Affects Versions4.
CreatedJan 10, 2017
UpdatedSep 7, 2017