Crash after adding SpectatorPawn to GameMode

I’ve created a new Blueprint subclass of SpectatorPawn, unticked the checkbox Add Default Movement Bindings. Then added it as the default Spectator subclass to my Blueprint GameMode.
I’ve pressed Play and the engine crashed at the check for Package->IsFullyLoaded() in PackageMapClient.cpp (Here).

The weird thing about this crash is, it resulted in that I have to completely recompile the whole engine (I’m working with a source build from github). It’s not a big deal, but it’s 10 minutes wasted time, and I cannot really explain why VS decides to recompile.

Hey Leandros-

I follows your steps of creating the SpectatorPawnBP, unchecking the checkbox, and setting my SpectatorPawnBP as the Spectator Class of my GameModeBP however I did not crash when I clicked the play button in the editor. Are the any additional steps I may have missed? Can you post the log files and callstack from the crash for additional information. Also, are you able to reproduce this crash in a new project and if so can you explain how to reproduce it on my end?


Hi Leandros,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.