Trying to add the respawn handler to a basic mission gives me errors and crashes in SCR_RespawnBriefingSubMenu.
Description
Details
- Severity
- Crash
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 10 x64
- Category
- General
Create a basic mission
adding SCR_RespawnMenuHandlerComponent to SCR_BasegameMode crashes everything.
Event Timeline
Hello OldRavenNL.
Can you please elaborate on the step "Create a basic mission". What is a basic mission in this case?
Regards,
Geez
If I follow this tutorial to the letter
https://www.youtube.com/watch?v=WNL_oFhlmLU&t=3492s
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.
Hey OldRaven!
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!