Summary
This might be me but I’ve looked around at various tutorials to see what I’m doing wrong…
I have a level that I want to restart if a player fails to make it to safety in time. Currently I have it set up where after the camera fades to black, wait for the fade duration and then execute console command RestartLevel. Everything works if I remove the console command. I even tested just running the console command RestartLevel in cmd but it still crashed my game. Keeps saying I’m calling a pure virtual function…
I tried branching it off as a sequence per a tutorial I’m following which fixed their bug crash but it’s still happening for me.
I’ve also tried just Open Level and putting the level name and that one crashes randomly but not all the time.
What Type of Bug are you experiencing?
Other
Steps to Reproduce
- Press Play
- Wait for fail event
- Upon fail, wait for fade to black
- After 2 seconds, the pure virtual function crash will trigger instead of restarting the level
Expected Result
Instead of a crash at step 4, the level restarts
Observed Result
Using the console command RestartLevel results in a Pure virtual function being called while application was running crash.
Affects Versions
5.4
Platform(s)
Windows
Upload an image
Video
For crash reports, include your callstack
LoginId:b00ca9ac47bb01cfb5216bb5a2b75052
EpicAccountId:c67c90196950494ebbbc261129f88399
Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformMisc.cpp] [Line: 746] Pure virtual function being called
VCRUNTIME140
UnrealEditor_MovieScene
UnrealEditor_MovieScene
UnrealEditor_MovieScene
UnrealEditor_MovieScene
UnrealEditor_Sequencer
UnrealEditor_Sequencer
UnrealEditor_Sequencer
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
Additional Notes
If you have any suggestions of alternative things that work better for this version of Unreal Engine, please share! Thank you!

