Developer Notes

Duplicate of UE-19673

Description

When you try to use the console command "demorec" to record a demo in PIE, a crash occurs.

Note: This did not occur in 4.8.3 but another crash happened when trying to run the "demoplay" console command after using "demorec" in PIE. This results in a different callstack.

Steps to Reproduce

1. Create a new project
2. Press play to enter PIE
3. Open the console with the ` key.
4. type the following command:
demorec test
Result: The editor crashes
Expected: The editor shouldn't crash

Callstack
MachineId:CBED442E4F2EE6B2A9D9BC8E57AE98C0
EpicAccountId:fb97c75d3c2041ad93ce1ee90d0703d7

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() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\containers\set.h:523]
UE4Editor_Engine!UNetDriver::FindOrCreateRepChangedPropertyTracker() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\networkdriver.cpp:2815]
UE4Editor_Engine!AActor::PreReplication() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\actor.cpp:815]
UE4Editor_Engine!UDemoNetDriver::TickDemoRecord() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\demonetdriver.cpp:989]
UE4Editor_Engine!UDemoNetDriver::TickDispatch() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\demonetdriver.cpp:494]
UE4Editor_Engine!TBaseUObjectMethodDelegateInstance<0,UNetDriver,void __cdecl(float)>::ExecuteIfSafe() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:772]
UE4Editor_Engine!TBaseMulticastDelegate<void,float>::Broadcast() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:809]
UE4Editor_Engine!UWorld::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\engine\private\leveltick.cpp:1062]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\editorengine.cpp:1347]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\editor\unrealed\private\unrealedengine.cpp:361]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launchengineloop.cpp:2427]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

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

0
Login to Vote

Duplicate
Affects Versions4.94.10
CreatedNov 11, 2015
ResolvedNov 12, 2015
UpdatedJul 14, 2021
View Jira Issue