Page MenuHomeFeedback Tracker

SCR_RespanMenuHandlerComponent and or SCR_RespawnBriefingSubMenu issue?
Reviewed, NormalPublic

Description

Trying to add the respawn handler to a basic mission gives me errors and crashes in SCR_RespawnBriefingSubMenu.

Details

Severity
Crash
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Create a basic mission

adding SCR_RespawnMenuHandlerComponent to SCR_BasegameMode crashes everything.

Event Timeline

Geez changed the task status from New to Assigned.Feb 2 2023, 10:07 AM
Geez changed the task status from Assigned to Need More Info.Feb 6 2023, 12:39 PM
Geez added a subscriber: Geez.

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!

Geez changed the task status from Need More Info to Reviewed.Mar 14 2023, 10:10 AM