Description

Loading a trace in Insights that has Network Prediction channel data from a multi-client PIE session will hit a check and crash the Insights tool.

 

 

Steps to Reproduce

1) Create an empty project, or use an existing one

2) Enable Network Prediction, Network Prediction Extras, and Network Prediction Insights

3) Restart project

4) In editor open the TestMap_Flying map from NetworkPredictionExtras plugin

5) Change to client mode with 2 players and play in editor

6) Start a trace with the Network Prediction channel enabled

7) Stop the trace

8) Open the trace in Unreal Insights and observe the crash (see description for callstack)

Callstack

Assertion failed: false [Link Removed] [Line: 400] 
No matching simulation data found for TraceID: 4
0x00007ffba5d0d835 UnrealInsights-NetworkPredictionInsights.dll!FNetworkPredictionProvider::FindChecked() [F:\P4\FN_29XX\Engine\Plugins\Runtime\NetworkPredictionInsights\Source\NetworkPredictionInsights\Private\NetworkPredictionProvider.cpp:400]
0x00007ffba5d42fbd UnrealInsights-NetworkPredictionInsights.dll!FNetworkPredictionProvider::WriteNetRecv() [F:\P4\FN_29XX\Engine\Plugins\Runtime\NetworkPredictionInsights\Source\NetworkPredictionInsights\Private\NetworkPredictionProvider.cpp:142]
0x00007ffba5d1e4e0 UnrealInsights-NetworkPredictionInsights.dll!FNetworkPredictionAnalyzer::OnEvent() [F:\P4\FN_29XX\Engine\Plugins\Runtime\NetworkPredictionInsights\Source\NetworkPredictionInsights\Private\NetworkPredictionAnalyzer.cpp:248]
0x00007ffbca841c9e UnrealInsights-TraceAnalysis.dll!UE::Trace::FAnalyzerHub::OnEvent() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:1628]
0x00007ffbca841b0c UnrealInsights-TraceAnalysis.dll!UE::Trace::FAnalysisBridge::OnEvent() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:2186]
0x00007ffbca838159 UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::DispatchEvents() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:4854]
0x00007ffbca837ec2 UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::DispatchEvents() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:4235]
0x00007ffbca83897e UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::DispatchNormalEvents() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:4087]
0x00007ffbca84166c UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::OnDataNormal() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:3917]
0x00007ffbca840775 UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::OnData() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:3638]
0x00007ffbca840805 UnrealInsights-TraceAnalysis.dll!UE::Trace::FProtocol5Stage::OnData() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Engine.cpp:3645]
0x00007ffbca8496ef UnrealInsights-TraceAnalysis.dll!UE::Trace::FAnalysisProcessor::FImpl::Run() [F:\P4\FN_29XX\Engine\Source\Developer\TraceAnalysis\Private\Analysis\Processor.cpp:58]
0x00007ffba97073d8 UnrealInsights-Core.dll!FRunnableThreadWin::Run() [F:\P4\FN_29XX\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]
0x00007ffba96fc597 UnrealInsights-Core.dll!FRunnableThreadWin::GuardedRun() [F:\P4\FN_29XX\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
0x00007ffcf7e97344 KERNEL32.DLL!UnknownFunction []
0x00007ffcf83c26b1 ntdll.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-210720 in the post.

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Network Prediction
Affects Versions5.4
Target Fix5.6
CreatedMar 27, 2024
UpdatedSep 30, 2024
View Jira Issue