# Pure virtual function being called only on packaged project

**URL:** <https://forums.unrealengine.com/t/pure-virtual-function-being-called-only-on-packaged-project/1898142>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 10, 2024, 9:02pm UTC](https://forums.unrealengine.com/t/pure-virtual-function-being-called-only-on-packaged-project/1898142 "2024-06-10T21:02:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crowtastic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crowtastic](https://forums.unrealengine.com/u/Crowtastic)\
**Post date:** [June 10, 2024, 9:02pm UTC](https://forums.unrealengine.com/t/pure-virtual-function-being-called-only-on-packaged-project/1898142/1 "2024-06-10T21:02:45Z")

</div>

I am getting the following errors on a project only when playing after packaging. I have no errors when playing in PIE.

Pure virtual function being called while application was running (GIsRunning == 1).

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsPlatformMisc.cpp] [Line: 439]  
Pure virtual function being called

This seems to happen when loading a new level, and not all the time. The game is made entirely from blueprints and I have been racking my brain for days looking through forums for a solution.  
Can anyone help me understand the Log file. I can not for the life of me understand where this error is comming from…  
[MattProject\_01.log](https://forums.unrealengine.com/uploads/short-url/2ZBKJaDhd442Srk7w3iMOvUPC62.log) (253.6 KB)

---

<div class="post-metadata">

**Author:** ![Crowtastic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Crowtastic](https://forums.unrealengine.com/u/Crowtastic)\
**Post date:** [June 11, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/pure-virtual-function-being-called-only-on-packaged-project/1898142/2 "2024-06-11T18:42:58Z")

</div>

This error seems to be always leaving my Menu screens as it loads a new game map. The game has a roguelike structure with only one game map that is populated with procedurally generated content.

I tried making a basically empty map and the error seems to have gone away. I have been able to test it many times without the pure virtual function crash.

It seems like the problem with with the content I am spawning in my map.

I can’t see anything in the log file that points to a specific Actor or Function that is failing.

Any ideas?

---

<div class="post-metadata">

**Author:** ![tregitirhgiug](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tregitirhgiug](https://forums.unrealengine.com/u/tregitirhgiug)\
**Post date:** [November 14, 2024, 9:15am UTC](https://forums.unrealengine.com/t/pure-virtual-function-being-called-only-on-packaged-project/1898142/3 "2024-11-14T09:15:42Z")

</div>

I think it could be that you are loading a widget onto your viewport on begin play. For some reason in packaged projects (at least for me), whenever I do this, there is a good chance of that exact error. I delayed my player hud from loading for a frame and thus far, the error has not relapsed.

I think the more stuff you have loading in, the more of a chance this will be a problem. So that’s probably why the empty map worked more frequently for you. It was similar in my situation.
