Description

The DemoRec console command crashes the editor if used during PIE.

Reproduced in 4.9 Preview 2 binary and 4.9 Releases (//depot/UE4-Releases/4.9/Promotable-CL-2643093). Does NOT occur in 4.8.3 binary. Does NOT occur in Main (//depot/UE4/Promotable-CL-2635815).

Crash Report:
[Link Removed]

Call Stack:
Access violation - code c0000005 (first/second chance not available)

UE4Editor_Engine!TSet<TPair<TWeakObjectPtr<UObject,FWeakObjectPtr>,TSharedPtr<FRepChangedPropertyTracker,0> >,TDefaultMapKeyFuncs<TWeakObjectPtr<UObject,FWeakObjectPtr>,TSharedPtr<FRepChangedPropertyTracker,0>,0>,FDefaultSetAllocator>::FindId() set.h:523
UE4Editor_Engine!UNetDriver::FindOrCreateRepChangedPropertyTracker() networkdriver.cpp:2815
UE4Editor_Engine!AActor::PreReplication() actor.cpp:763
UE4Editor_Engine!UDemoNetDriver::TickDemoRecord() demonetdriver.cpp:992
UE4Editor_Engine!UDemoNetDriver::TickDispatch() demonetdriver.cpp:494
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl() delegateinstancesimpl_variadics.inl:772
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() delegatesignatureimpl_variadics.inl:809
UE4Editor_Engine!UWorld::Tick() leveltick.cpp:1062
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1347
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:366
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2412
UE4Editor!GuardedMain() launch.cpp:142
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126
UE4Editor!WinMain() launchwindows.cpp:200

Steps to Reproduce

1. Open a new First Person Blueprint template project
2. PIE
3. Enter console command, "demorec test"

Result:
Crash

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentUE - Networking
Affects Versions4.94.10
Target Fix4.11.2
Fix Commit2946394
CreatedAug 5, 2015
ResolvedApr 30, 2016
UpdatedApr 30, 2016