# How to replace the message "Unknown error message" with more details when packaging a game project ?

**URL:** <https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, FeatureRequest, crash, bug-report, question\
**Created:** [February 8, 2024, 1:33am UTC](https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433 "2024-02-08T01:33:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imagineer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/imagineer/32/562003_2.png) [@imagineer](https://forums.unrealengine.com/u/imagineer)\
**Post date:** [February 8, 2024, 1:33am UTC](https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433/1 "2024-02-08T01:33:34Z")

</div>

Guys, guys , guys  
the worst nightmare for a new user of Unreal engine is the packaging errors and the funny scratching party each time you get a lack of memory because of the 99999 tasks of the OS.  
Can you lock 5 years on your planning to replace the error message “Unknown error” by a human message so we can guess on which blueprint we have to focus please ?

---

<div class="post-metadata">

**Author:** ![imagineer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/imagineer/32/562003_2.png) [@imagineer](https://forums.unrealengine.com/u/imagineer)\
**Post date:** [February 8, 2024, 8:02am UTC](https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433/2 "2024-02-08T08:02:10Z")

</div>

Ok in your log console, the error this time was related to UE 5.3 :

“BuildException: Microsoft platform targets must be compiled with Visual Studio 2022 17.4 (MSVC 14.34.x) or later for the installed engine. Please update Visual Studio 2022 and ensure no configuration is forcing WindowsTargetRules.Compiler to VisualStudio2019. The current compiler version was detected as: 14.29.30148”

So can you highlight please in STRONG, BRILLANT and SHINY PURPLE RAIN COLOR the exact line which explain the causes of any errors in your log console please ? 🧐

 ![prince](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/1/6018b8bf860440f185b749a840c9e52d56ca22c0.jpeg)

---

<div class="post-metadata">

**Author:** ![imagineer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/imagineer/32/562003_2.png) [@imagineer](https://forums.unrealengine.com/u/imagineer)\
**Post date:** [April 29, 2024, 6:44pm UTC](https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433/3 "2024-04-29T18:44:15Z")

</div>

Common problem:

> [@how should I fix this packaging error?](https://forums.unrealengine.com/t/how-should-i-fix-this-packaging-error/1189670):
>
> hey everyone. please help me to fix this error. I got this kind of error repeating in my Output log when I tried to package my game in ue5.1 and I don’t even know where to look for the problem! PackagingResults: Error: begin: stack for UAT PackagingResults: Error: === Handled ensure: === PackagingResults: Error: Ensure condition failed: ClassDefaultObject [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\BlueprintGeneratedClass.cpp] [Line: 1635] PackagingResults: Error: Stack: …

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [May 29, 2024, 6:44pm UTC](https://forums.unrealengine.com/t/how-to-replace-the-message-unknown-error-message-with-more-details-when-packaging-a-game-project/1673433/4 "2024-05-29T18:44:32Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
