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.
Result:
Output log shows two objects (Object ID 1 and Object ID 2)
Expected:
Only one object exists after hot reload.
Head over to the existing Questions & Answers thread and let us know what's up.
3 |
Component | UE - Foundation - Cpp Tools - Hot Reload |
---|---|
Affects Versions | 4.14.2, 4.14.3, 4.15 |
Created | Jan 10, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |