# RestartLevel Console Command Causes Pure Virtual Function Crash 

**URL:** <https://forums.unrealengine.com/t/restartlevel-console-command-causes-pure-virtual-function-crash/2742205>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine, crash, bug-report, Blueprint, question\
**Created:** [August 8, 2026, 9:29pm UTC](https://forums.unrealengine.com/t/restartlevel-console-command-causes-pure-virtual-function-crash/2742205 "2026-08-08T21:29:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![softborb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@softborb](https://forums.unrealengine.com/u/softborb)\
**Post date:** [August 8, 2026, 9:29pm UTC](https://forums.unrealengine.com/t/restartlevel-console-command-causes-pure-virtual-function-crash/2742205/1 "2026-08-08T21:29:17Z")

</div>

### 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

1. Press Play
2. Wait for fail event
3. Upon fail, wait for fade to black
4. 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

 ![Screenshot 2026-08-07 153420.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/1/0112101756fc10b44dffc867c6dd0e508d008565.png) ![Screenshot 2026-08-08 081845.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/3/dd3d7fe47a79296e41c118d03d1205cbe2902dca.png)

### Video

> **[Proton Drive](https://drive.proton.me/urls/4C1QMY5VVW#deNSWvjdBApc)**
>
> Securely store, share, and access your important files and photos. Anytime, anywhere.

### 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!

---

<div class="post-metadata">

**Author:** ![softborb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@softborb](https://forums.unrealengine.com/u/softborb)\
**Post date:** [August 10, 2026, 5:55pm UTC](https://forums.unrealengine.com/t/restartlevel-console-command-causes-pure-virtual-function-crash/2742205/2 "2026-08-10T17:55:21Z")

</div>

Well it just started working as expected today…
