Constructor code:
I have a blueprint class, which is derived from this C++ Class (AFPSAIGuard).
If I comment the line with adding new delegate to event, for example, OnHearNoise and after compile by hot-reload, or close UE4 Editor and build by VS2017 (compiler logs that it’s not hot-reload, and it deletes all hot-reload files and build other) and after restart Editor - despite it the delegate keeps executing. But if I recreate the Blueprint Class - everything becomes to work well.
I’ve read a lot of about similar or same problems and their solutions. I understand that the main problem is CDO. But they’re supposed to be reinitialized during launching the editor, aren’t they? I’ve tried to use the button Compile in UE4 and Visual Studio, but it hasn’t help (