PSA: Multiple Add Chaos Destruction Listener in one frame may cause a nasty crash

Hi!

Title, mostly. I accidentally had the Add Chaos Destruction Listener node in one of my actors that happened every time it died. This was no problem until multiple actors died in the same frame, that caused the engine to stop responding consistently. When using the Visual Studio debugger it didn’t even stop on the crash, the CPU usage just went to 0. The engine had to be ended via the task manager and it produced no error messages in the log.

The culprit node:
image