Description

UGameplayDebuggerLocalController::OnDebugDraw crashed with a dereferenced nullptr for CachedReplicator.

Steps to Reproduce

n/a

Callstack

0x00007ff6aded498c MyGame.exe!AActor::GetWorld() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\Actor.cpp:577]
0x00007ff6b01f94eb MyGame.exe!UGameplayDebuggerLocalController::OnDebugDraw() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\GameplayDebugger\Private\GameplayDebuggerLocalController.cpp:202]
0x00007ff6b01ed3f6 MyGame.exe!TBaseUObjectMethodDelegateInstance<0,UGameplayDebuggerLocalController,void __cdecl(UCanvas *,APlayerController *),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:667]
0x00007ff6ae90490b MyGame.exe!UDebugDrawService::Draw() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\Debug\DebugDrawService.cpp:119]
0x00007ff6ae904745 MyGame.exe!UDebugDrawService::Draw() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\Debug\DebugDrawService.cpp:100]
0x00007ff6aeb13ef5 MyGame.exe!UGameViewportClient::Draw() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\GameViewportClient.cpp:1954]
0x00007ff6afb92581 MyGame.exe!FViewport::Draw() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\UnrealClient.cpp:1869]
0x00007ff6aea8d448 MyGame.exe!UGameEngine::RedrawViewports() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:749]
0x00007ff6aeaaa3aa MyGame.exe!UGameEngine::Tick() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1931]
0x00007ff6b05563bc MyGame.exe!FEngineLoop::Tick() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:6006]
0x00007ff6b056f06c MyGame.exe!GuardedMain() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Launch\Private\Launch.cpp:189]
0x00007ff6b056f14a MyGame.exe!GuardedMainWrapper() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:119]
0x00007ff6b0572075 MyGame.exe!LaunchWindowsStartup() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:281]
0x00007ff6b0583a24 MyGame.exe!WinMain() [D:\TRS_Perforce_MyGame_PostB\Game\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:324]
0x00007ff6b6cdbbfa MyGame.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
0x00007ffca5d9257d KERNEL32.DLL!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-213451 in the post.

0
Login to Vote

Fixed
ComponentUE - AI - Debugging
Affects Versions5.4
Target Fix5.5
Fix Commit33296043
CreatedApr 27, 2024
ResolvedApr 29, 2024
UpdatedMay 16, 2024