Developer Notes

Curve from Timeline is being Garbage Collected

Description

This crash is caused by an exception that is thrown due to the functions inside of a blueprint based off a user-defined class that is suppose to mimic Timelines.

Steps to Reproduce

1. Download the attached project
2. After unzipping the project, right click the .uproject file and select 'Generate Visual Studio Project Files'
3. After that completes, run the .sln file to open the project in Visual Studio
4. Build the solution (ctrl+shift+b)
5. Return to the file explorer and run the .uproject file
6. If it is not already loaded, load the 'Untitled' map from the content browser
7. Run the game in PIE
8. Observe that numbers are being printed at the top left every frame
9. Wait for ~1 minute and the crash should occur

Callstack

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

""

UE4Editor_Engine!UCurveBase::GetTimeRange() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\curvebase.cpp:844]
UE4Editor_Engine!FTimeline::GetLastKeyframeTime() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\timeline.cpp:529]
UE4Editor_Engine!FTimeline::GetTimelineLength() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\timeline.cpp:463]
UE4Editor_Engine!FTimeline::TickTimeline() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\timeline.cpp:366]
UE4Editor_CrashAngelArts
UE4Editor_Engine!FTimerUnifiedDelegate::Execute() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\public\timermanager.h:38]
UE4Editor_Engine!FTimerManager::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\timermanager.cpp:538]
UE4Editor_Engine!UWorld::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\engine\private\leveltick.cpp:1223]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\editorengine.cpp:1339]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\editor\unrealed\private\unrealedengine.cpp:366]
UE4Editor!FEngineLoop::Tick() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launchengineloop.cpp:2355]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\launch.cpp:142]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\source\runtime\launch\private\windows\launchwindows.cpp:295]

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.8
CreatedMay 13, 2015
ResolvedJun 30, 2015
UpdatedJul 14, 2021