Every time when I modify or add a lot of C++ code (most of them are native C++ and do not inherit UObject), compile, IDE will Hotlink. At this time, if the PIE is likely to collapse.
After my investigation, as long as the GC is triggered, it crashes.
I modified the source code of UE myself and saved part of the memory before the crash. I learned that it was caused by this FGCObject and UGameInstanceSubSystem
How can I avoid it? My project is basically native C++, using a small amount of UObject (Native C++ uses WeakObjectPtr to save UObject pointers)