# Packaged project crashes when entering a level from the main menu level UE5

**URL:** <https://forums.unrealengine.com/t/packaged-project-crashes-when-entering-a-level-from-the-main-menu-level-ue5/644259>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, question, Blueprint\
**Created:** [September 8, 2022, 9:48am UTC](https://forums.unrealengine.com/t/packaged-project-crashes-when-entering-a-level-from-the-main-menu-level-ue5/644259 "2022-09-08T09:48:46Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [September 12, 2022, 9:34am UTC](https://forums.unrealengine.com/t/packaged-project-crashes-when-entering-a-level-from-the-main-menu-level-ue5/644259/8 "2022-09-12T09:34:37Z")

</div>

Hey @ShakaBond,

As priority 1 (because this may be the actual root cause of the issue), there are actually several errors that look like they need to be addressed.

```auto
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126)

LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126)

LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126)

```

Here is a thread with the same error that solved how to correct these files:

> [@Call unknown Function Error ! (aqProf.dll related and selffixed)](https://forums.unrealengine.com/t/call-unknown-function-error-aqprof-dll-related-and-selffixed/417307/6):
>
> Ok i fix that ■■■■. the reason for the problem was a brothel in the engine files. After and check my logs and found that entries. LogWindows: Failed to load 'aqProf.dll' (GetLastError=126) LogWindows: File 'aqProf.dll' does not exist LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126) LogWindows: File 'VtuneApi.dll' does not exist LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126) LogWindows: File 'VtuneApi32e.dll' does not exist I searched the internet to solve the pro…

There is also:

```auto
LogWindows: Error: Assertion failed: FMallocBinned2::FPoolInfo::IsSupportedSize(Size) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\MallocBinned2.cpp] LogWindows: Error: Invalid Malloc size: '105369866224'

```

Is your project using the built in Malloc\_Verify like in the following post?

> [@Crash in FMallocBinned2::MallocExternal on Win64](https://forums.unrealengine.com/t/crash-in-fmallocbinned2-mallocexternal-on-win64/433651/3):
>
> Hey Stephan, We have the MallocVerify proxy which does the same thing as you have hacked in - you can just enable it via the MALLOC\_VERIFY macro at the top of MallocVerify.h. The pointer value you have is absolutely invalid - you can tell as it’s not aligned. This suggests that it’s not merely stale, but has been corrupted somehow. This could, as you and others have suggested above, have occurred as a result of bad pointers coming in and out of the allocator. Another simple thing to add wou…

I would address the top issue first and foremost just in case it is causing the second.

I hope the above points you in the direction you need!

---

_[View the full topic](https://forums.unrealengine.com/t/packaged-project-crashes-when-entering-a-level-from-the-main-menu-level-ue5/644259)._
