Wanted to give an update. I am still stuck on this and getting pretty desperate for help. I have spent all week wrestling with this and no progress made. I’ve collected more logs and crashes, but the core issue seems to be unknown. It’s always some worker thread that crashes and leads to a “Fatal Error!” message.
What I’ve done:
- Reviewed my code for memory leaks. I found some small errors and fixed those, but it did not stop the crashes.
- Address almost every warning I could see in the console. Every warning was some minor offense, but I fixed as many as I could. There are still a couple lingering warnings, but nothing major.
- Ensured all blueprints unbind events when they are supposed to.
- Generated Debug builds for better stack traces.
Still nothing. I have to play my game between 5-8 minutes usually to get this crash to proc. I have no idea why it takes so long to manifest and why it’s so inconsistent. Sometimes I have to wait about 10 minutes for it to crash.
I’ll add one small correction from my last post here. Setting gc.CollectGarbageEveryFrame 1 does not seem to actually stop crashes. I was able to get a crash with it turned on. Has anyone noticed potential instability with builds in 5.4? I tried updating to 5.5, but I can’t get Rider to rebuild RiderLink and thus I can’t compile my code for 5.5. Had to create another post for that.