Trying to add the respawn handler to a basic mission gives me errors and crashes in SCR_RespawnBriefingSubMenu.
- Operating System
- Windows 10 x64
Create a basic mission
adding SCR_RespawnMenuHandlerComponent to SCR_BasegameMode crashes everything.
Can you please elaborate on the step "Create a basic mission". What is a basic mission in this case?
If I follow this tutorial to the letter
And use the Gamemode plain.
When I modify it like the video add the SCR_MenuHandlerComponent (and respawntimer component) en disable the SCR_AutomaticRespawnHandlerComponent it crashes.. always.
Was just following the same video now and found the solution to it.
SCR_MenuHandlerComponent now has a dependency to SCR_RespawnBriefingComponent which was not added in the video. See the definition here in SCR_RespawnBriefingSubMenu.c:
This was causing the script to fail with a null pointer on line 220 as specified on the error you posted.
Adding the SCR_RespawnBriefingComponent to the GameMode_Plain prefab will fix the issue!