Rider's debug mode triggers exception on TSharedRef::Init

After accidentally editing code while the engine was running in debug mode, I get an exception at TSharedRef::Init

This only happens with rider in debug mode. I tried running debug mode in VS and it worked fine. I also tried running the engine from rider normally (without debugger) and it ran fine.

It almost seems like rider is reading these variables as nullptrs

Managed to fix by going to File → Invalidate Caches

1 Like