Description

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)

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

Expected:
Only one object exists after hot reload.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Won't Fix
CreatedJan 10, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue