# Packaging black screen and 5.1 upgrade issues

**URL:** <https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [January 29, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206 "2023-01-29T16:24:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [January 29, 2023, 4:24pm UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/1 "2023-01-29T16:24:45Z")

</div>

So I’m having issues with my project. After successfully packaging it for windows, running the exe just gives an unresponsive black screen. Correct default map and everything. I thought maybe upgrading to 5.1 (from 5.0.3) would help my issue and the project immediately crashes upon loading, mentioning NiagaraGraph.

Any advice would be greatly appreciated!!

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 30, 2023, 1:54am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/2 "2023-01-30T01:54:50Z")

</div>

Hey there @darthgrayter! I’ve seen multiple issues on upgraded projects. It’s not always just builds that have this issue. I have seen a number of users have issues with Niagara systems. You may have to find the offending system and remove/replace it.

> [@My Project Crashes in 5.1 - Please Help](https://forums.unrealengine.com/t/my-project-crashes-in-5-1-please-help/741693):
>
> My project worked fine in 4.27 and 5.0.3, but now that I’ve upgraded to 5.1 I can’t load any blueprints or any levels with old blueprints in them (so all of my work so far). I can create new levels with new landscapes, I can drop in some old blueprints like my sky and ocean, but I can’t edit any of these blueprints, I get the same crash over and over (screen shot below). My installation of 5.1 seems to be fine, I can create a blank project and edit everything in there, and my drivers are all c…

---

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [January 30, 2023, 4:04am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/3 "2023-01-30T04:04:26Z")

</div>

Thanks for the suggestion! As far as the UE5.1 version goes, if I delete a certain asset folder, it doesn’t immediately crash. Unfortunately the assets are rather crucial, so I’m just going to wait for a future version of 5.1 that hopefully doesn’t break the assets.

But that leaves my project stuck on 5.0.3 with a game that only gives a black screen when packaged. Any tips on fixing that?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 30, 2023, 7:53am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/4 "2023-01-30T07:53:28Z")

</div>

It’s definitely dependent on the error it’s producing. Could you launch your debug build the command argument -log and see where it’s failing? It’s likely the same offending Niagara asset, but we’ll have to see. You could also run it through a debugger if you’re savvy.

---

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [January 30, 2023, 3:00pm UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/5 "2023-01-30T15:00:14Z")

</div>

So, the cmd prompt won’t appear when I press “~”. There’s no error, just a black screen and unresponsive program. Running in editor is perfect, even when I run it in standalone game.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 31, 2023, 3:29am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/6 "2023-01-31T03:29:04Z")

</div>

You’d have to run your own cmd and then use the -log argument when launching the packaged project. This will launch a totally different window. I’ve got a video showing some packaging debugging a little bit more in depth.

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/2/fb2b4e225ebf2621d6d184547e3526c22826cc32.jpeg "Unreal Engine How To Debug Packaged Projects") ](https://www.youtube.com/watch?v=CmWbMT4WAhU)

---

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [February 7, 2023, 2:33am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/7 "2023-02-07T02:33:38Z")

</div>

Thanks for the video!! I followed the instructions and the game actually ran from vs one time perfectly… then it stopped working and is just not responding. I attached my logs below.

The weird thing is, if I select the “for distribution” setting on projects settings and package for debuggame, the “main” exe doesn’t work, but the Win64-Shipping exe does run.  
[StarSurfer.log](https://forums.unrealengine.com/uploads/short-url/ydwTeHroVT1QyyGTD2pPX5L3MCR.log) (31.5 KB)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 7, 2023, 5:56am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/8 "2023-02-07T05:56:39Z")

</div>

Interesting! Is there an accompanying crash log that goes with this? It doesn’t mention the exception here while it does show a crash GUID.

---

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [February 7, 2023, 3:35pm UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/9 "2023-02-07T15:35:03Z")

</div>

Nope, no crash log or GUID… just unresponsive black screen.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 11, 2023, 4:58am UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/10 "2023-02-11T04:58:12Z")

</div>

The logs don’t mention much here, without a stack trace it’s hard to point out what’s still failing, I’m not too experienced in debugging shipping packaged games past some of the tips the video gave for the most part. If it is indeed still the Niagara systems, cutting the specific one causing the issue out has been the regular fix. Is there any way you can package in a basic level first, set that as the starter map and see if the shipping lets you in to that. This may point to whether it’s something we can scrub or plugin interference.

---

<div class="post-metadata">

**Author:** ![darthgrayter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darthgrayter](https://forums.unrealengine.com/u/darthgrayter)\
**Post date:** [February 20, 2023, 8:58pm UTC](https://forums.unrealengine.com/t/packaging-black-screen-and-5-1-upgrade-issues/759206/11 "2023-02-20T20:58:25Z")

</div>

For anyone who might still have this issue - if I uncheck the “For Distribution” box in Project Settings → Packaging, then it seems to work reliably after I package.
