Description

Replay System throws an Ensure during demoplay when calling it in a different Level. The error is thrown at Source\Runtime\Engine\Private\RepLayout.cpp]. It does not prevent the Replay from being played at all.

This was reported and tested in 4.22.3 (CL-7053642). This was reproduced in 4.23 (CL-7236301) and Main 4.24 (CL-7260730)

Steps to Reproduce
  1. Open the UE4 Editor, create a Third Person project, and then close it
  2. In the Config folder of the project add the following to the DefaultEngine.ini file:

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="DemoNetDriver",DriverClassName="/Script/Engine.DemoNetDriver",DriverClassNameFallback="/Script/Engine.DemoNetDriver")

  1. Reopen the project
  2. Record a replay in the ThirdPersonExampleMap with demorec test and then demostop when finished
  3. Create and open a New Level
  4. Play the replay with demoplay test

Results: The replay plays but an ensure is thrown

Expected: No ensure to be thrown

Callstack
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: === Handled ensure: ===
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: 
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: Ensure condition failed: false [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Engine\Private\RepLayout.cpp] [Line: 2617]
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: 
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: Stack: 
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff92e57189 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff924746da UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff92474508 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff9247377e UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d06120 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91cff986 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d0781c UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d0bc79 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d0a4a3 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d0b949 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff921b2978 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff921b3dc1 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d61c5a UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff9181a0a8 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d3d221 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d7be80 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff91d7e8cf UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:491][155]LogOutputDevice: Error: [Callstack] 0x00007fff921e19af UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fff91747d7e UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fff92036ac3 UE4Editor-Engine.dll!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fff903802f7 UE4Editor-UnrealEd.dll!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fff90b9d396 UE4Editor-UnrealEd.dll!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007ff7c2a66bb1 UE4Editor.exe!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007ff7c2a7554c UE4Editor.exe!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007ff7c2a755ca UE4Editor.exe!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007ff7c2a8316c UE4Editor.exe!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007ff7c2a85b8e UE4Editor.exe!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fffe7b037e4 KERNEL32.DLL!UnknownFunction []
[2019.07.10-13.56.46:492][155]LogOutputDevice: Error: [Callstack] 0x00007fffe8e6cb81 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-77057 in the post.

1
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.234.244.22.3
Target Fix4.25
Fix Commit11072994
Main Commit9407021
CreatedJul 10, 2019
ResolvedJan 21, 2020
UpdatedJan 26, 2021