After some time working on my game using the ShooterGame framework, I came to this issue that is actually blocking me to finish some core features.
I’ve created a custom class, in c++, inherited from ShooterGameMode and created a Blueprint Class from that.
Whenever I try to open this Blueprint class inside the editor, it loads 100% and crashes the editor, instantly, without leaving a crash report.
After facing this problem, I created another blueprint class, this time inherited from the ShooterGameMode class. Same results, when I open it and load, the editor closes.
So… I have created a clean shootergame project and gave it a try, and it worked fine. The problem is inside my current project.
BUT
The ShooterGameMode class was untouched so far, and I’m facing this crash in an unchanged class, only in my project!
Is it something I should look at the config files? Any ideas of what should be the crash cause here?
I tried testing your issue and was not able to reproduce this in a new project either. For another test, can you try making a copy of your project and convert it to 4.14 and let me know if the crash still occurs there as well? Additionally, can you run the project in Visual Studio debug mode and cause the crash? This should force the project to kick back to Visual Studio and display the crash callstack. Please copy/paste the callstack here for additional information.
I believe I need Epic’s support as you said.
Anyway, trying to enable crashreports does not seem to change the fail Log I came up facing and nor showing more relevant messages. Gotta try the suggestions.
Based on the screenshot it only shows an error with the editor directly. In the Epic Games Launcher, please try clicking the dropdown arrow for your engine version (4.13.2) and select the Verify option to ensure all engine files are built correctly. If you still get a crash when opening your blueprint, please send a copy of your project so that I can view the crash locally.
After downloading the Editor Debug symbols (This last weekend I’ve formatted my and forgot to download the symbols), I came to these new messages (too long to post in this reply: https://codepaste.net/2eqyic)
Maybe it can be useful.
About the 4.14 update: after updating to 4.14.3 and simulated the crash, it still occurs. Crash log also indicates the same function (GameMode::StartMatch()).
Please tell me if you’re still gonna need my project.
I apologize for the delayed response. I have not been able to reproduce your crash locally yet. It may help me understand the cause by seeing the issue on my end, if it’s still possible for you to provide a copy of your project.
Thank you for the project. I was able to follow the stack trace from the crash to where StartMatch(); had been added in AShooterGameMode::PreInitializeComponents();. When this call is made, it is then crashing on if (GameSession->HandleStartMatchRequest()) because GameSession at this point (opening the blueprint) is null. Commenting out the call to StartMatch prevents the crash from occurring. Depending on the reason this call is being made, you may need to make the call elsewhere, or at the very least check if(GameSession) prior to calling StartMatch();