#packaging

1 messages · Page 21 of 1

vital rune
#

That's weird since it's only happening in that one level

#

But yeah I can try to do that

tight fjord
#

@vital rune thats because that level has bb cached values. I had the same issues over 60 levels.

#

@sacred crown read the error. Above it says there is a log in your app data and roaming

sacred crown
#

So not sure what I should see

#

Is it Visual Studio 2022 x64

tight fjord
#

@sacred crown me neither

#

Paste it

sacred crown
#

I do notice is says this

No Visual C++ installation was found. Please download and install Visual Studio 2022 with C++ components.

tight fjord
#

Yeah thats weird. Can you paste that into chatgpt and confirm? The format sucks on my phone.
I think its a mismatch of vs

#

What is your project version in your build.cs?

#

V4 or latest?

sacred crown
#

I don't use chatgpt and its Unreal 5.4.4

tight fjord
#

No no your build.cs file

#

What does it say?

sacred crown
#

sorry if I am being dumb where I find build.cs? day been stressful so my mind is a bit cloudy

tight fjord
#

Im not at computer. I can show you later.
All games have a build.cs file and it says what version of mvc you use in it.

sacred crown
#

I see, wonder this, the game started out as a GameJam project and decide to reboot it. I made a copy of the projected and then use the copy to build the game.

sacred crown
#

not sure if I am looking in the right folder

tight fjord
#

ah, I'm not sure then, you would need a C++ class and then make the project files and it would be in the source folder

#

otherwise I think it uses the engine files? not sure

sacred crown
#

I see thanks for the help though, what is odd was able to package early versions of this game and and the original GameJam version had no issues packaging. and all are using 5.4.4

tight fjord
#

starting in 5.4, this became an issue

sacred crown
#

should I try installing 5.6 and see if that might solve the problem

sacred crown
winged moss
#

the problem was presented very clearly in the log: you don't have VS2022 installed, only 2019

#

you should install VS2022 with the required workloads

sacred crown
#

I asked if that was the issue

winged moss
#

well yeah, it is the issue

sacred crown
#

yeah, just the other guy never said that it was

sacred crown
winged moss
#

yes and it can be the latest version. the details are really in the workloads and components you install because they need to be specific

#

a lot of people run the default settings and end up with errors covered by the second pin

sacred crown
#

so any steps I should take on this

winged moss
#

I'm not really going to handhold, but you need to install VS2022, yes

#

and you need to pick the desktop and game dev workflows, and then go into individual components and install what's mentioned in the pin

sacred crown
#

okay, just trying to be sure I don't screw this up

winged moss
#

I'm not sure what you think the worst could happen is, if you miss a component that you need to install you just modify the installation from the VS installer

sacred crown
#

True just some anxiaty, it does seem related to Steam Online Subsystem, moment I enable the plugin to the game project the error happens and it turns out it happens on both u5.4 and u5.6

winged moss
#

that's because you enabled a plugin. a BP only project with the default plugin set is going to use a precompiled executable

sacred crown
#

ah I see I see

#

Visual Studio 2022 compiler version 14.44.35213 is not a preferred version. Please use the latest preferred version 14.38.33130

I'm confused by the version they are asking namely cause I don't see that number in Visual Studio to install

#

Oh never mind I think I spot it

winged moss
#

compiler version

#

and that's what's covered in pin #2

sacred crown
#

pin #2?

winged moss
#

discord has a feature called pins

#

it's the second one

sacred crown
#

Oh thought you where talking something in the visual studio installer not discord

tight fjord
#

so far my experience was that to run 5.6 you need 2022 and this means updating the compiler version as well

#

which then bugs out all packaging prior to 5.6

#

unless you change your packaging version from v# to .latest

#

and i'd expect the opposite, you need 2022 in 5.6, not 5.4, unless his editor preferences are all over the place

sacred crown
silver sky
#
------ Building 2 action(s) started ------
[1/2] Link [x64] ProjectBinary-Win64-Shipping.exe
Module.OnlineSubsystemSteam.cpp.obj : error LNK2005: "public: virtual int __cdecl FInternetAddrSteam::GetPort(void)const " (?GetPort@FInternetAddrSteam@@UEBAHXZ) already defined in Module.SteamShared.cpp.obj
Module.OnlineSubsystemSteam.cpp.obj : error LNK2005: "public: virtual class FName __cdecl FInternetAddrSteam::GetProtocolType(void)const " (?GetProtocolType@FInternetAddrSteam@@UEBA?AVFName@@XZ) already defined in Module.SteamShared.cpp.obj
Module.OnlineSubsystemSteam.cpp.obj : error LNK2005: "public: virtual class TArray<unsigned char,class TSizedDefaultAllocator<32> > __cdecl FInternetAddrSteam::GetRawIp(void)const " (?GetRawIp@FInternetAddrSteam@@UEBA?AV?$TArray@EV?$TSizedDefaultAllocator@$0CA@@@@@XZ) already defined in Module.SteamShared.cpp.obj
Module.OnlineSubsystemSteam.cpp.obj : error LNK2005: "public: virtual unsigned int __cdecl FInternetAddrSteam::GetTypeHash(void)const " (?GetTypeHash@FInternetAddrSteam@@UEBAIXZ) already defined in Module.SteamShared.cpp.obj
Module.OnlineSubsystemSteam.cpp.obj : error LNK2005: "public: virtual void __cdecl FInternetAddrSteam::SetAnyAddress(void)" (?SetAnyAddress@FInternetAddrSteam@@UEAAXXZ) already defined in Module.SteamShared.cpp.obj

Moved the project to 5.6, now OnlineSubsystemSteam keeps erroring out. Didn’t touch anything extra and builds fail. Any idea why?

proven stone
silver sky
#

Okay thanks I'll look at

proven stone
# silver sky Okay thanks I'll look at

ok, just got to my PC, the plugin is called SteamSockets if including that doesn't help then I'd recommend checking contents of the plugins if there isn't some mismatch after upgrade (if you're using source code from git directly rather than epic game store build)

silver sky
proven stone
#

Sadly can't help with that since I don't really do use steam oss, might be best to ask in #online-subsystems now since it's not a compilation/linking issue anymore

silver sky
#

Okay, thanks!

winged moss
#

I don't think any of the 5.x releases are compatible with VS2019

lean dawn
#

anybody kno why my packaged project results r different from my editor results ? i'm using unreal engine 5.6 and i want to prevent an hism wall from adding which works perfectly fine in the editor but when i package it the hism wall is still added which i don't want .

tight fjord
#

@lean dawn force rebuild, it might be cached and packaged again when it shouldn't

summer dock
serene quartz
#

new errors 🆕🔥

#

chatgpt says, its related to... RAM? 😮

#

chatgpt: And before the crash, a lot of shaders fail to compile, especially for Nanite, Volumetric Clouds, Lumen, etc. 💬

#

although that could be related to this issue

#

Although recently Ive been experiencing some weird sudden spikes in my GPU, and everytime I had those unexpected spikes today my PC would go really slow, I never had this before, im not sure but I feel like this could be related somehow

serene quartz
#

Ill try again deleting CDD (local & global), saved & Intermediate

vital rune
#

"That" as in reset the BB value properly liek you suggested

tight fjord
#

so here's what I did

#

I forced the BB values on begin play

#

then I created this service called BTS check state

#

this goes and fetches the data before engaging the AI BT

#

in your case and what happened to me also, you BB values are probably not getting set properly nor are they getting checked/updated live. So what happens is you get an overflow to a negative max float and the BT cannot do the action. in my case, all my moveto vectors were -maxfloat and nobody would move.
Ironically, this wasn't a problem on mobile? But it was on PC.

vital rune
#

That's really interesting

#

I'll start looking into it

tight fjord
#

I debugged this by creating a text on top of my AI NPCs that were logging their BB values live. Just get the BB values and set text

#

and when running the game in PIE, no problems

#

turns out, the BB values are loaded and cached before running the game

vital rune
#

I'm not the best with programming so it may take me a bit to get something similar but thanks!

Honestly by looking into the stuff I disconnected, it looked like it wasn't even using the BB and BT to begin with lol

tight fjord
#

but in the packaged game, no cache exists

#

ah??

#

hm

#

always start with basics

#

do you have the volume?

#

forgot what it was called

#

and then debug the BT/BB values

vital rune
tight fjord
#

worst

#

ai

#

ever

#

🤮

vital rune
#

Last time this happened the issue was I wasn't building the levels and cooking content

But now it doesn't work for the build

#

Yeahhhh

#

All the character does is patrol

tight fjord
#

thats fine but man this is gimped

#

you can use the basic ai moveto

#

you can use BT/BB

#

and you can even make your own spline movements

vital rune
tight fjord
#

yeah

#

but the way you did it is kinda janky

#

wait why is it chasing player at the end??

vital rune
#

To loop 😭

#

I followed it from some random tutorial YEARS ago

#

Like 2 years ago I think

#

Honestly I should probably refresh the ai lol

#

I tried disconnecting it and yeah the enemy stops after patrolling once lol

gaunt bone
#

This feels like more of a packaging question.
How is your games versioning handled?
All manually with custom solutions, or does something in UE already manage stuff?

(I see all these like build version, build configuration, and BuildSettings.
But, from a google search either all of them, or the specific ones I found, seem to be about the engine itself, if 5.2 is compatible with 5.5 sort of deal.
Not so much is my game compatible with another persons game version
Am I missing something, or is that engine versioning basically what should be used for game versioning?

summer dock
gaunt bone
limber bear
#

is there a way to enable debug logs to be printed for UAT? I can see in the source code one of the logs that I am interested in is being printed using LogDebug

winged moss
#

<@&213101288538374145> surprisingly, Discord caught this as spam

summer dock
gaunt bone
#

The things I was listing was the code names/ functions.
And, the code just lead to one of those compile time macros.
So, wasn’t sure where it’s read from/ handled by.

golden patio
#

Recently reinstalled UE 5.4 and now the linux toolchain isn't detected?

Platform Linux is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platorm support files (DataDrivenPlatformInfo.ini, SDK.json, etc).```
hasty bluff
#

Hi, in UE 5.3, both AMD FSR3 (I've tested multiple versions) and Nvidia DLSS 4 (Also tested with DLSS3) work in the editor side by side, and I can switch between upscaler during the editor gameplay, but when I create a shipping build of the game, it no longer launches if both plugins are enabled. (no build errors)

When launching the .exe I get this error instantly:

LowLevelFatalError [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 903]
Interfaces.CopyCommandList->Close() failed
at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12CommandList.cpp:284
with error E_INVALIDARG

In defaultengine.ini I have set both off by default to avoid situation where both plugins try to activate at the same time:
r.NGX.DLSS.Enable=0
r.FidelityFX.FSR3.Enabled=0

also console commands on starting map and game instance:
r.NGX.DLSS.Enable 0
r.FidelityFX.FSR3.Enabled 0

Any ideas why this happens? Has anyone managed to get both work side by side in 5.3 shipping build?

oak pier
#

Hi guys. Last time I packaged games on 4.27.
For my current project, I need to package the game on 5.5.4.
I use Project Launcher.
The problem is that there is no Crash Reporter in the packaged game.
I tried specifying it in the project settings, tried adding it to UAT -CrashReporter.

I also added to DefaultGame.ini

[/Script/UnrealEd.ProjectPackagingSettings]
IncludeCrashReporter=True

But it doesn't help, in the packaged project I just get a ‘Fatal Error’ without the crash reporter.
How do I add a crash reporter to a packaged project via Project Launcher?

raven chasm
#

I'm wondering, is it possible to build a mobile and desktop game from the same project, but where the mobile game uses different assets then the desktop game.
So that in the end, even though the desktop game might be a few GB's, the mobile version is just a few MB?

#

Also in general, when packagin a game, unused assets will be stripped away right? But if a asset is referenced by a BP, even though the BP is not used, it will still be packed right?

winged moss
#

there are certainly teams that do that

#

and it's all based on references from the maps you cook (and C++ CDOs, but no one should use constructorhelpers if they can avoid it)

#

and you can control things like texture resolution per-platform

#

though to have that be effective you need to be thoughtful about texturegroups in the project

mortal ridge
#

What's the fast way of dealing with these goddamn struct errors again?

#

I've tried going to the impacted classes and refreshing all nodes but it always seems like I missed one. Google alludes to a mythical "refresh all nodes" plugin, but their github page 404s

raw timber
#

Hi ! Any ideas why a packaging would be stuck after this ?
UATHelper: Packaging (Android (ASTC)): Execution of commandlet took: 32.60 seconds

spare prism
#

Thanks ChatGPT

dreamy sequoia
#

Why doesn't the new project launcher in 5.6 make sounds when it completes or fails like the old one? 🙁

#

I just want to minimize and come back when its done without having to keep checking on it.

winged moss
#

Verbatim errors?

#

I was more after the copied and pasted error from the output (ie. verbatim)

covert plank
#

Hello,

We recently moved to UE5.6 from 5.4 and noticed that the project packaging process seams to be broken.

We are on source build and build the project for windows and all Consoles.

UE5.4 does always build a correct standalone build on all platforms. Same project in 5.6 with no code changes and in the cooking stage we frequently get Access Violation error hinting to some blueprint cast.

But even with verbose logging there are no details on any file. We validated and recompiled every Blueprint in the project.

We can restart the cook process multiple times and in roughly 1 out of 10 times it successfully completes and we can build the standalone version.

This leads us to be leave there is no problem with our project and rather the engine.

A fresh engine install, cleaning of saved, intermediate and other generated folders does not change the results.

For testing UE5.5 does also produce the same error with the same frequency.

5.4 is as previously said not an issue.

Does anyone know what changed in between this versions or if this is a known issue?

We would need to move to newer UE versions due to consoles…

winged moss
covert plank
# winged moss You need to share what the error actually is

That's the issue..there is no real error.

We get an access violation error with a stack trace for a blueprint cast.

There is no file given where this appears..we validated and recompiled every blueprint and there is no error and issue.

As the game does fully compile sometimes there can't be an error with the files and something with the engine

summer dock
covert plank
summer dock
covert plank
summer dock
# covert plank All Blueprints validated, recompiled and saved. No issues and as I said in 5.4 i...

Interesting... it's not a perfect match, but we had something that sounds somewhat similar a year back with LinkerLoad intermittent crashes, which seemed to be caused by heavy dependency issues.

Now I can't say for sure if this is the case for you, but you might want to take a peek at

  • how heavy are the linkages when viewed with Reference viewer, is there loads and loads of stuff using the crashing bp?

There are also plugins that detect circular dependencies, which might be of interest. Having circular dependencies is not a direct road to hell, I ran it recently and we had hundreds of them and things are still running : E

Repeat Caveat : This is just a shot in the dark, an educated guess...

#

Looking back, we were getting EXCEPTION_STACK_OVERFLOW
not EXCEPTION_ACCESS_VIOLATION. Hmm

covert plank
summer dock
#

I assumed it would be the one mentioned just before the crash, but not certain

UATHelper: Cooking (XSX): LogBlueprint: Display:   Time Compiling: 11.588297784328461 ms. Time Reinstancing: 1.2613013386726379 ms.
UATHelper: Cooking (XSX): LogWindows: Error: begin: stack for UAT
UATHelper: Cooking (XSX): LogWindows: Error: === Critical error: ===
UATHelper: Cooking (XSX): LogWindows: Error: 
UATHelper: Cooking (XSX): LogWindows: Error: Fatal error!
UATHelper: Cooking (XSX): LogWindows: Error: 
UATHelper: Cooking (XSX): LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000110```
#

ie BP_BaseShell

covert plank
#

The last BP before the crash is a small used by one other blueprint.

We use Interfaces for nearly everything. There are newrly no direct dependencies

summer dock
#

If you are using an engine source fork, you might be able to add more log tracing...

#

I presume you've already done the "Instigators and Names" thing mentioned in Pins

covert plank
#

Yeah..we more or less done everything. The confusing part is, it sometimes works correctly. And knowing it works perfectly in 5.4 does indicate the project is fine.

My biggest suggestion is that the build process in 5.6 has some issues.

Maybe a race condition with the compiling on multiple threads where one sometimes finishes before the dependency is ready. But at this stage it's just guessing.

It's maximum frustration as nothing makes sense.

summer dock
covert plank
#

No we still have the 5.4 stuff. We did not make any changes so far. But we need 5.6 for the planned Switch 2 release.

So we are kind of committed to it.

What I forgot to mention. I also tried to remove all default game mode, game instances and start maps.

Wo not or less package an empty project. Still the same issue.

We don't have UDN access. We request it every 2 month for the last 24 years. Nothing.

All our previous critical bug reports where fixed by epic 2-3 years after. So I'm not counting on Epic on this one either ....

summer dock
covert plank
summer dock
#

zamn

#

we got a dedicated contact person at some point

covert plank
#

We got nothing 👍🏻

summer dock
#

somehow you have dropped through the cracks

#

maybe... ping ari arnbjörnsson?

#

he might facilitate a reconciliation...

covert plank
#

We write them every 2 month from various mail addresses to ask for UDN access for over a decade....

summer dock
#

anyhow, back to the problem at hand, recap

  • problem is intermittent ( how many times of of x attempts? )
  • problem cannot be reproduced with template project

I guess I would keep stabbing at it, by fully stripping out like all the content, and re-test. if no repro, you know for sure there's something funky in there. Then proceed with binary search tactic : restore everything, but delete only 50% of content...

This is not a fun procedure

#
covert plank
#

Yes. And yes we are in the process of it. It just takes forever.

summer dock
#

Have you reached the point where you are having to pay for engine licensing?

summer dock
#

That at the latest would be the defining point... I forget how much UDN costs since I don't handle the money, but if you are ready to pony up some significant money to get proper support then I would recommend contacting ari and asking for an assist

#

ahhhh

#

Epic Pro Support is available as an additional purchase for licensees with ≥10 seats.

#

I'm not sure if that's always been the case, but looks like they don't care about some solo indie dev : (

#

but... even that is confusing, since game devs don't pay for seats as far as i recall. "reach out to us", "for licensees on custom terms"

#

anyway, we have drifted a bit off topic

#

not sure what else to say on the packaging issue... we are still on 5.4 so not sure what is going on

covert plank
#

Yeah the seat limit is stupid. Makes absolutely sense.

Well seems like nothing left then to dig through a 500gb project...🫣

summer dock
#
  • is the fail rate fairly large, like 50% or more?
  • do you have automated build systems?

I maybe missed it, so you do get successful builds as well right? hmm hmm

covert plank
summer dock
#

even with an autobuilder that's not going to work out

#

at risk of repeats

  • make sure there is clarity on where it is crashing. Always at the same point? Is the BP_BaseShell just before the crash the instigator or not?

If the instigator thing remains unclear, I would consider

  • source fork to add more logs in the relevant area, at least make sure it's crashing on the same bp / bps regularly
spare prism
#

I'm totally grasping at straws here but I'm at the end of my rope.

Have you ever seen any hitching with specific Enhanced Input Actions, only on a specific machine, and only on a shipping build?

I have a packaged build that multiple people including myself can run normally. However, when I run the .exe (not even through Steam, I've closed Steam as part of troubleshooting) on my laptop, I get extreme hitching, down to <1 fps for a couple seconds, only on two specific enhanced input actions, even when those input action events are completely unlinked from all the logic. Again, this only happens on my laptop. Maybe on a whim someone has seen something like this before. It works perfectly fine in the editor (and in a development build) on my laptop. I've built from both my laptop and my desktop tower and it behaves the same, affecting only my laptop. I updated my drivers and it didn't resolve.

  • The freeze follows the IA asset itself (no matter what key or button it’s bound to)
  • I've rebound the IAs in-game to totally different inputs and it still freezes only on those specific input actions
  • It happens on both KBM and gamepad
  • It doesn’t happen with other IAs
  • It still happens with no logic wired
  • It only affects my laptop
  • It only happens in a Shipping build
  • It doesn’t happen on other machines

I'm totally stumped, y'all.

spare prism
cobalt pasture
#

I wanted to try out incremental cooking, but when I specify -cookincremental, the log still says FULL COOK: Neither -legacyiterative nor -cookincremental were specified. Deleting previously cooked packages for platform Windows and recooking all packages discovered in the current cook.. I assume this is because of another thing a couple of lines earlier: LogEditorDomain: Display: Cycle detected in parents of class /Script/RigVMDeveloper.RigVMUnitNode. Allow flags for editordomain and incremental cooking will be invalid. I also tested this in a blank project with the same behaviour

proven stone
#

So if you let it run to completion, you should have new oplog in your local zen and next time you run it - unless the oplog is missing or the metadata file is gone (or some of the hashes changed) it will do incremental recooking

mild crest
#

Hey! Did you ever find a solution for this?

I'm developing a mobile game and had been able to package for Android without issues. But suddenly, today, cooking stopped working, even for Windows. Now, when I try to launch the build, I get this error:

"Game files required to initialize the global shader library are missing from [...] Please make sure the game is installed correctly."

Would really appreciate any insight if you managed to fix it!

winged moss
#

well that usually means the cook didn't happen at all

#

or something didn't stage correctly

mild crest
#

Yes, on the first attempt, the cook fails and cancels the packaging process. But I couldn't find any useful error message explaining why the cook failed.

Then on the second attempt and onwards, the cook step doesn't fail, it just seems to do nothing, and results in a broken build.

UATHelper: Packaging (Windows): Running UnrealEditor Cook for project [...].uproject
UATHelper: Packaging (Windows): Commandlet log file is E:\UnrealEditors\UE_5.6\Engine\Programs\AutomationTool\Saved\Cook-2025.08.06-22.36.05.txt
UATHelper: Packaging (Windows): Running: E:\UnrealEditors\UE_5.6\Engine\Binaries\Win64\UnrealEditor-Win64-DebugGame-Cmd.exe [...]
UATHelper: Packaging (Windows): Took 3.42s to run UnrealEditor-Win64-DebugGame-Cmd.exe, ExitCode=0
UATHelper: Packaging (Windows): Cook command time: 3.44 s
UATHelper: Packaging (Windows): ********** COOK COMMAND COMPLETED **********```
mild crest
#

I was able to get it working by running the packaging directly from the command line using RunUAT instead of through the editor.

So it seems like the issue might be related to how the cook is triggered via the Editor UI, possibly skipping steps or not cleaning up properly after a failed attempt.

summer dock
tight galleon
# summer dock ```Epic Pro Support is available as an additional purchase for licensees with ≥1...

UDN (Which we're now calling EPS, Epic Pro Support) for games is always handled through a Custom License.
EPS for non-games (like plugin makers, movie studios, etc.) is handled through Seat licenses.

For the Seat-Based License, you need to purchase at least 10 seats to be eligible to also buy EPS. I'm not sure how much EPS costs on top of that.

For games: With a Custom License, you pay money up front (can't say how much as it's one of those "contact us to learn more", but it's not cheap) to lower the UE royalty percentage, and you also get 2-year access to UDN, which you can pay to extend. This Custom License is usually per game, but bigger publishers sometimes negotiate a multi-game license.

For the vast majority of game studios, they don't handle the Custom License; their publisher does. The publishers get a custom license because they are expecting a certain number of sales, and have calculated that it's often cheaper to get a custom license with a reduced royalty rate rather than paying the standard "5% past first million" rate.

EPS doesn't often make sense for indies that are self-publishing because of the price. I only recommend it to studios that are already spending millions on dev and marketing budgets.

For Console help, which @covert plank mentioned, even though you don't have access to EPS console support, you should be able to get access to the free console NDA-d EDC forums. If you have access to those, they should show up under the "Platforms & Builds" category of the EDC main categories page: https://forums.unrealengine.com/categories?tag=unreal-engine

If you don't see them, you might not have access to them. You can request access to them for free at https://forms.unrealengine.com/s/form-console-access-request. You, of course, need to be a registered console developer for the platform you're applying to.

Epic Developer Community Forums
summer dock
mild crest
#

Hey guys! I have a beginner question: do I need to compile the editor before packaging my project?

I tried packaging for Android, with a clean project folder, deleted Saved, Intermediate, DDC and Binaries, using the -nocompileeditor flag on the command line, but I encountered an error during the cooking phase. The error said it couldn't find:

<ProjectFolder>\Binaries\Win64\<ProjectName>Editor.target

Without the -nocompileeditor flag, everything works fine. I'm a bit confused about why this happens 😅

winged moss
#

yes, the cooker is a commandlet and needs a working editor

karmic flume
#

My issue is also specific to 5.6. My project is actually in 5.3, I was just trying it in 5.6 to evaluate if it was worth to actually migrate

winged moss
#

it was very curious that the log was referring to the debuggame executable

#

and then a question about editor binaries

golden patio
#

Is the project launcher actually used by studios to package builds for distribution? I've found it to be extremely buggy and impractical to use (if it weren't for the time required to figure out buildgraphs or the UAT, I'd use that instead)

proven stone
summer dock
covert plank
winged moss
#

in a professional setting, the project launcher will mostly be used for adhoc local builds and launching on device

golden patio
#

But ill keep working on it, maybe fix the build graph i stsrted a while ago for starters

rancid frigate
#

Heyas, how can I enable logs/print/screen messages in my shipping builds? (without modifying a souce engine)

#

I'd be fine with a dev build, however it saves the game inside the project folder, which makes steam sometimes delete the savegame when updating

summer dock
rancid frigate
#

Does that require the source mod, or maybe works on it's on?

summer dock
rancid frigate
#

Mmm, sidequest: Is there a way to get the user directory path?

#

Would make things much easier

#

the main issue is unreal dev build saving within it's own folder only

tight galleon
rancid frigate
winged moss
rancid frigate
#

Yup, just went down that path, but custom save locations to Documents/My Games solved all the issues with development build. 🙂
Thanks though!

golden patio
#

Dedicated server packaged build opens in the background on windows, no output window appears, running the exe from cmd looks like it closes immediately?

gaunt bone
#

I know running with -log does show a window, and closing said window kills the server.
I would assume some automatic thing can be added somewhere to force -log
But, thats about it from me sadly.

golden patio
#

ok using -log opened a window but its not printing anything

#

theres an error running the server in debuggame but its wierd that in the shipping package its not printing anything

plain smelt
#

Could not find based-on AssetRegistry file root/Releases/Windows/Windows/Metadata/AssetRegistry.bin for platform Windows. When cooking DLC, AssetRegistry.bin is expected to exist Release/<platform> for each platform being cooked. (Or use DevelopmentAssetRegistryPlatformOverride=<PlatformName> to specify an override platform that all platforms should use to find the AssetRegistry.bin file). Terminating the cook.

I'm getting this weird error when trying to package a mod.

What I've tried - making a manifest file and copying the assetregistry.bin from somewhere else.
setting in DefaultGame.ini

[/Script/UnrealEd.CookOnTheFlyServer]
DevelopmentAssetRegistryPlatformOverride=Windows

I can't seem to find any other solutions online. Would appreciate any help. Thanks

winged moss
plain smelt
winged moss
#

When you package the actual game, you'll need to create a release (this is what it's referred to in project launcher)

#

That will generate an AssetRegistry.bin file in the expected location

#

And when you package a mod then it's packaging against that release

plain smelt
winged moss
#

You have to opt into it and give it a name

#

Or a version number

peak stratus
#

I updated to 5.6.1 last night so i could fix my splash screen not loading as the video only showed black. Now i cant build my project at all, can anyone help?

winged moss
inner topaz
#

Sorry to bother you suddenly.
I have a question about a World Partition level.
When I package a World Partition level in Unreal Engine 5.6 and play it, the game crashes with the following error:

appError called: assertion failed: CurrentState == ELevelStreamingState::Removed || CurrentState == ELevelStreamingState::Unloaded

This happens whether I set the runtime to Spatial Hash or Hash Set.
It seems to be the same issue described in the following post, and forcing the assets to always load prevents the crash:
https://forums.unrealengine.com/t/world-partition-cell-stuck-in-loading-state/2548257

However, the level in question only contains a single static mesh, which makes this very puzzling.
Since I plan to use World Partition for performance optimization, I do not want to rely on the “always loaded” workaround.
I would like to identify the root cause and resolve it, but I’m currently at a dead end.

Any ideas or suggestions would be greatly appreciated.

I am Japanese and not very good at English, so I apologize if my explanation is unclear

sharp steeple
#

I was wondering (and this might not be the correct place to ask this so let me know) if anyone knows how to change the drive/location the zen storage ddc puts its data?

grave mason
#

does anyone know waht those errors here are?

summer dock
summer dock
# grave mason
LogOutputDevice: Warning: Script Stack (0 frames) :
LogStats: FPlatformStackWalk::StackWalkAndDump -  0.067 s
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: SkeletonBoneIndex != INDEX_NONE  ```
something funky going on
proven stone
mild crest
# karmic flume I found a workaround for my issue, but my issue seems different from yours. In m...

After updating to 5.6.1, the cooking process stopped working again. Now, I have to add the following argument to the command line to avoid using the -Cmd.exe version (which, for some reason, skips cooking):

-unrealexe="<UE_FOLDER>\Engine\Binaries\Win64\UnrealEditor.exe"

Before the update, I was able to package my project for Android without specifying -unrealexe.

Does anyone know why the -Cmd.exe executable skips the cooking process, or what might be causing this behavior?

karmic flume
mild crest
karmic flume
#

yea... but mine happened in 5.6.0, when I get some time I'll test it int 5.6.1

#

(renaming the original UnrealEditor to UnrealEditor-Cmd made that file stop working too)

#

so definitely isn't the file itself...

mild crest
winged moss
#

<@&213101288538374145> you missed one

light junco
#

Cleanup didn't work I guess. Discord API sucks.

winged moss
#

there it goes, ty

karmic flume
dreamy tide
#

Anyone know why my game is packaging without all of the assets in a level? I'll notice anywhere from 10-100 assets won't show up in a packaged build, each time seemingly random. It took me 5 days of repeated attempts before it finally worked for me for 2 maps, but my full game has 20 maps 💀 I've tried removing the HLOD from my landscape without much luck.

summer dock
dreamy tide
cedar berry
#

Hi all, how can I force ue to generate a pdb file in a shipping build? I already tried adding bUsePDBFiles = true in my target.cs, even bCreateMapFile = true, still no pdb in sight

full hound
#

Hi.
Anybody know why my project would cook and package successfully but crash almost instantly with a "fatal error" and no other info when trying to launch the packaged product?
Sorry if wrong channel BTW

winged moss
full hound
winged moss
#

if it's shipping, it won't have one

#

a development build will naturally give more info

full hound
#

Ok, ty. I will try a development build and go from there

simple eagle
#

Hello, anyone got the reccommended sdk, ndk and java versions for unreal 4.27 for oculus quest! Thanks!

austere nebula
#

attempting to use unrealpak.exe to extract, modify config files, repak but get Failed to open descriptor file... - Has anyone successfully unpaked, modified, repak'd a shipping packaged game?

winged moss
#

that gets a solid "why" over me rather than using something like CustomConfig

austere nebula
#

we want to deploy existing packaged builds to a variety of environments and in order to do so we need to change lots of engine, game, etc. .ini values post-build. we can achieve this in dev builds by including Saved/Config variants in our steam packages but this won't work in shipping builds

#

I looked at the customconfig stuff it sounded like I'd need to set those before we BuildCookRun with runuat. I'm trying to find a solution for after we have the packaged build

summer dock
austere nebula
# summer dock Better to do things before. CustomConfigs, Jenkins/Horde/TeamCity, python script...

we use teamcity but we have build configs separate from deploy configs for both clients and servers. we have about 7-8 diff environments builds and servers could be deployed to so for various purposes we like the ability to deploy any already created build to any environment - or even create a new environment a deploy an old build there, only paying a 10min deploy script cost instead of the cost and risk of recreating the build which could be from a different engine version

it seems like the flexibility of being able to modify any .ini value and repak an existing build is appealing?

#

I did have a successful test yesterday doing this but I had to nest the pak path up 3 levels from the unrealpak tool and maintain a directory structure that more mimics the staged build <> unrealpak tool. I might could modify the tool to not be so finnicky but don't want to maintain a modified version of it

summer dock
#

There's also +AllowedConfigFiles=

austere nebula
summer dock
austere nebula
summer dock
mental lion
#

everytime i make a project, i have to include the maps in the packaged build in the project settings ?

#

5.3.2 i didn't have to do that, but 5.5.4 i did

kindred onyx
#

guys i loaded assets using FSoftClassPath but now its not working in build

#

how to fix this?

winged moss
crimson knot
#

If I want to dynamically include modules depending on the build configuration I would do that in the Build.Cs of my including module right? But say I have a whole plugin like an imgui plugin for example and a custom module which extends that plugin for my own needs, how can I approach keeping it in builds only if I want to set some flag? Like say a shipping build could keep it if I need to debug something in shipping but I never want to actually include that plugin or module in my final shipped game?

I'm not sure if I am making sense but TLDR: I want to keep both a imgui plugin and module in my own game project only if a flag is set, otherwise strip it.. The module part I think Is simple enough I just set the do something like if Type != Shipping || bKeepDebugStuffInShipping (names are obviously for demonstration here but how about the entire imgui plugin since that is defined at the .uproject level?

Any help would be greatly appreciated

summer dock
winged moss
#

Usually for debug modules, you'd just control that by bBuildDeveloperTools (iirc), since that can correlate with the module type

crimson knot
# winged moss You can make as many Target.cs files as you want, and control what modules get b...

So I have spent like an hour setting up a shared target rules function and shared base, I add the imgui plugin to disabled plugins if we are building shipping and no matter what I do I am still able to search for imgui in the binary and see entries.. I am definitely adding the plugin to the targets disabled plugins array though

I am trying to remove it entirely from a shipping build but still find myself unsuccessful

winged moss
#

Well you probably have something there that is including it through Build.cs and that module is being included in the build

crimson knot
#

I'll check again but as far as I am aware only two modules directly reference the imgui module as a dependency in their build.cs and I check if the ReadOnlyTargetRules contains ImGui in the disabled plugins array, if so I dont add it as a dependency at all

crimson knot
# winged moss Well you probably have something there that is including it through Build.cs and...

Yeah nothing.

Plugin A has imgui as a plugin in the .uplugin file as such

{
  "Name": "ImGui",
  "Enabled": true,
  "Optional": true
}

Inside of that plugin I have a module that depends on the ImGui module and that checks the ReadOnlyTargetRules like so before adding as a dependency

int Index = Target.EnablePlugins.FindIndex(PluginName => PluginName.Equals("ImGui", StringComparison.InvariantCultureIgnoreCase));
if (Index >= 0)
{
    PublicDependencyModuleNames.Add("ImGui");
}

I also have a module in my project that depends on my plugin module and it does the same check as above before depending on it

My shared rules implementation reads as so

string ImguiDefine;
bool bEnableImGuiInShipping = false;
if (bIsShipping && !bEnableImGuiInShipping)
{
    Target.DisablePlugins.Add("ImGui");
    ImguiDefine = "IMGUI_KEEP=0";
}
else
{
    Target.EnablePlugins.Add("ImGui");
    ImguiDefine = "IMGUI_KEEP=1";
}

Target.ProjectDefinitions.Add(ImguiDefine);

Then all my own dear imgui code is wrapped in IMGUI_KEEP macros to strip them

Does anything here stand out

winged moss
#

this seems oddly overengineered? Targets have bBuildDeveloperTools, which is off for shipping, and there's the module type DeveloperTool that only enables the module when that's true

crimson knot
#

It might be overengineered I agree but should this not work as is? I will try the developer tools approach I suppose and see but I figured this would accomplish the same thing

winged moss
#

Typically I would have a module for my developer tools, that would be in the uproject/uplugin as DeveloperTool, and that being the only thing depending on ImGui

gritty helm
#

typical usage of optional plugin dependency would be

Plugin D has one module: ModuleD
Plugin A has optional dependency on Plugin D
Plugin A has two modules: ModuleAA, ModuleAB
ModuleAB has a dependency on ModuleD

this way any Project that uses Plugin A can always use ModuleAA
and add dependency on ModuleAB under condition that Plugin D is enabled.

to package Plugin A - you must have Plugin D present

If I want to dynamically include modules depending on the build configuration I would do that in the
in your game module you would add the dependency
if (Target.bBuildDeveloperTools) PrivateModuleDependencies.Add("ModuleAB");
here you can also manage that define

#

devtools usually simply use appropriate host type, and automatically excluded without any additional magic and just checking #if WITH_EDITOR or with dev tools

crimson knot
#

I've changed the imgui plugins own module imgui to DeveloperTools, my own plugin that depends on imgui also as a developer tool and the other module as a developer tool and then I have the same branch as above but I also added Target.bBuildDeveloperTools = true/false depending on the branch.

I'll let you know if the final binary still has mentions of imgui directly from imgui

#

Seems to have worked 🎉

Still not sure why my original approach did not though..

crimson knot
#

No matter what I try, I can't get the inverse to work or compile at all. I can exclude it easily but nothing I do will allow a developer tool in shipping, which was my goal in creating a dynamic way to keep it in shipping if needed but most of the time I wont need it

I hit this every time, even in an empty fresh project.

UATHelper: Packaging (Windows): ERROR: Non-editor build cannot depend on non-redistributable modules. D:\Dev\Path\MyProject-Win64-Shipping.exe depends on 'Settings', 'AITestSuite', 'MassEntityTestSuite', 'DesktopPlatform'.
UATHelper: Packaging (Windows): Dependant modules 'Slate', 'MassEntityTestSuite', 'MassEntity', 'RenderDocPlugin'
UATHelper: Packaging (Windows): Non-editor build cannot depend on non-redistributable modules.
UATHelper: Packaging (Windows): Result: Failed (OtherCompilationError)

@winged moss @gritty helm

Are you both sure developer tools is what I want here?

winged moss
crimson knot
#

For example a blank project with a single newly created plugin and I set the plugins module type to be DeveloperTool and in the proejct.Target.cs I enable bBuildDeveloperTools it errors

I implore you to try it if you get a chance and let me know how you go but from what I can tell it is a no go for shipping.

winged moss
crimson knot
#

Well I suppose I don't know much about them. Are they 1-1 with shipping builds? As in, if I crash only on shipping due to something I am doin in debug/development saving me but in shipping it is no longer there or whatever may be causing a crash in shipping only, is it going to happen in test as well. I just don't know anything about test builds at all. I am fairly new to the world of build practices with unreal, I have spent most of time writing code and not dealing with packaging shipping builds and distribution things.

proven stone
#

Test and Shipping aren't the same, they're close... but Test builds till have things like console enabled and some developer tools like debug camera etc.... but it is closest to shipping as you can get unless you actually build shipping

#

here... finally found the table ... took me a while

candid thistle
#

Hello guys I have a problem when I try to package for windows my ue5 project, I got this error :
UATHelper: Cooking (Windows): /Engine/Generated/Material.ush:3659:27: error: no matching function for call to 'asuint'
and then I got the knowned :
UATHelper: Packaging (Windows): BUILD FAILED PackagingResults: Error: Unknown Error

(I update visual studio, Drivers, create virtual memory on my ssd, resave and recompile the project, restarted my computer and all the basics stuff)

I just update my project to UE 5.6.1 and I never got this error, if anyone have any information to fix this I am open, Thank you !

proven stone
#

since it is highly likely that it's a broken/corrupted material

candid thistle
#

My project use SM5, I have completly no idea which material is cause this problem

proven stone
#

if you check whole log this error should come somewhere in the middle and nod just in the summary... and around that area there should also be "Cooking XXXXX"

proven stone
candid thistle
candid thistle
#

@proven stone I fixed the problem thank you, yes it was a specific material which was not compatible with 5.6 so I reimported the texture and I remake the material now it's worked

kindred onyx
winged moss
#

that's why BPs are typically used for asset references, UDeveloperSettings are also very useful

spice canopy
#

Hey! I'm just wondering if anyone has been able to package their project as shipping in 5.6? No matter what I do it ends up being a developer build.

proven stone
#

I can confirm that using UAT/UBT works just fine

spice canopy
proven stone
#
pushd "%~dp0..\..\.."
call .\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -p4 -project=./MyGame/MyGame.uproject -cook -stage -archive -archivedirectory=./MyGame/PackagedDev -package -compressed -pak -prereqs -targetplatform=Win64 -build -target=MyGame -clientconfig=Shipping -utf8output -compile
pause

This is what I use for local packaging in the most simple way, I have this in MyGame/Build/BatchFiles/RunLocalPackage_Shipping.bat

#

You might need to tweak some flags like -p4 if you're not using p4... or path to the RunUAT.bat if you're using build from epic games store etc.

spice canopy
kindred onyx
kindred onyx
proven stone
#

because developer settings and CDOs in general are initialized relatively early during engine startup where some of the systems are not yet fully established... and hard reference would require the asset in question to become loaded... resulting in a crash in 101% of the cases from my experience

#

once you have your class or soft pointer simply call .LoadSynchronous() on it... (do not use .Get() since that in most cases will return nullptr unless the asset was previously loaded somewhere else) - or better yet, use Streamable manager/Asset Manager or AsyncMixin to load the data asynchronously, although those are bit more advanced topics/ways of doing things

kindred onyx
kindred onyx
ocean axle
#

Did anybody ever encounter this error during packaging? I can't find where it is setting the -cookonthefly flag. I have deactivated it in the platforms dropdown and in the project launcher but the packaging always fails with this error.
"Can't use both -cook and -cookonthefly"

I am using a fresh build of the Meta fork for the engine

torpid pilot
#

Can anyone give me some guidance on how to make a demo of my game? It's a fairly large open world so I don't want players to have to download the whole thing. I was thinking about just copying my project into a duplicate and then creating a boundry for the demo and deleting assets that arent visible outside the boundry? I just feel like there might be a smarter way to do it?

winged moss
#

The answer I gave in the other channel is relevant

#

you should have source control so copying the project is redundant

torpid pilot
#

tee hee i dont have source control setup but you are correct, I should do that and it will solve the duplication problem

winged moss
#

Well you should do that immediately

#

At least the approach there is that you could make a demo release branch

rose coral
#

using UnrealBuildTool;
using System.Collections.Generic;


public class MyGameDemoTarget : MyGameTarget
{

    public MyGameDemoTarget(TargetInfo Target) : base(Target)
    {
        GlobalDefinitions.Add("MYGAME_DEMO=1");
        CustomConfig = "Demo";
    }
}```
#

making a branch is also interesting though

winged moss
#

In the other channel I also suggested modifying a copy of the existing map. If it was separate levels then you could just cook the maps you want to include, but it sounded like the game was a single open world

rose coral
winged moss
#

having the Target.cs is still useful though since you can gate functionality pretty easily

torpid pilot
#

Yes the issue at hand is that most of my game is one large open world level with a few smaller levels. I don't want to package the whole open world in the demo which is why I'm here. I think modifying a copy is the best route.

rose coral
#

Yeah it seems more straightforward even though with custom config you can do whatever you want. Found that trick in Lyra's code

silver blade
#

kiindlt guide me how can i solve

south jacinth
#

Hi! I have recently updated to UE5.6 (git, release branch), but not able to package my project because of this error.

[dotnet build] D:\Software\UE\UE_5.6_Git\Engine\Source\Programs\AutomationTool\AutomationUtils\AutomationUtils.Automation.csproj : error NU1902: Warning As Error: Package 'Magick.NET-Q16-HDRI-AnyCPU' 14.7.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-6hgw-6x87-578x [D:\Software\UE\UE_5.6_Git\Engine\Source\Programs\Shared\EpicGames.ScriptBuild\EpicGames.ScriptBuild.csproj]

I tried to google it and on forums people say that I need to update some csproj files and set version of Magick.NET to 4.7.0. But as I can see the version is already 4.7.0.

Does anybody know any other ways to fix this issue?

#

I have also tried 4.8.0, same error

south jacinth
#

Oh, I just noticed that with 4.8.0 those are not errors, but warnings.

chilly snow
#

Here I go again with my errors

#

I solved a lot of them but many errors like these ones at the top I don't understand

#

for example... what the fuck does this mean?

#

LogOutputDevice: Error: [Callstack] 0x00007ff829641c6f UnrealEditor-AnimGraphRuntime.dll!UnknownFunction []

proven stone
proven stone
proven stone
#

Epic. Games launcher, if you open the details for your installation then there will be an option to install them

#

Am not by the pc so I can’t send more precise instructions

chilly snow
#

Enabling debugging symbols makes it possible to meaningfully debug crashes and step through code, but increases build size and time.

#

ok I guess, I'll use it to learn what the problem is and then I will turn it off.

#

But I haven't used a loooot of C++, is C++ learning required to understand how to debug my packaging errors?

#

So far I've only been a beast in blueprint but never really delved into a lot of c++ although I can kind of understand some things because it looks similar to other languages i used before

summer dock
#

Regarding c++ needs, generally no, you don't need to master c++ to solve packaging problems. Being able to read code is def a plus of course : )

chilly snow
#

yes

chilly snow
#

No, I dont think im using anything called Gauntlet

summer dock
# chilly snow No, I dont think im using anything called Gauntlet

So, upfront, I haven't had this issue, but am interested to understand why it would be a problem for you.

Groundwork :This Magick thing is included, as far as I can see only in Gauntlet.Automation.csproj:

<Reference Include="Magick.NET-Q16-HDRI-AnyCPU, Version=7.24.1">

I assume you might be able to change the version there, but would that cause new issues? perhaps worth a try.

The question though, for me is how come Gauntlet is being included in your packaging process if you are not actually running any automated testing...

#

Another observation : this is "Warning As Error" - that means we could be just skipping this problem completely. Are you using Visual Studio or Rider to compile your game project, or is this blueprint only?

chilly snow
#

I tried to generate some c++ file before but never really actually did anything with it so I deleted it again some months ago

#

could it be related to the fact that I tried something like this before, I might have clicked here

proven stone
# summer dock So, upfront, I haven't had this issue, but am interested to understand why it wo...

It only affects UE 5.6 where epic some advanced enabled auditing .... and Migick.NET is ancient (as in first released in 1990) image manipulation library... and recently there's been a streak of CVEs found within the library

and since epic treats warnings of this sort as errors it fails to build pretty much everything because the libray is inlcuded by couple of unreal's build and automation infrastructure.... (AutomationTool, AutomationUtils and Gauntlet) ...

The easy way t oget rid of this issue is to simply update the library version, currently to version 14.8.1 - in three csproj files, as seen here #automation message (this was posted before 14.8.1 was a thing, so it references 14.8.0 so just change the number)

afterwards everything will work or do following fix:

Change 19219 by {REDACTED} on 2025/08/28 04:05:11

        Disable nuget audit for the dotnet Development configuration.

        Nuget packages will continue to be audited for other configurations as these are urgent issues to address, but this will prevent blocking errors for licensees and CI while they are addressed.

        #submittool SubmitTool-Development-5.5.3.CL-18723

Affected files ...

... //{REDACTED}/Main/Engine/Source/Programs/Shared/UnrealEngine.csproj.props#6 edit

Differences ...

==== //{REDACTED}/Main/Engine/Source/Programs/Shared/UnrealEngine.csproj.props#6 (text) ====

33a34,36
>   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Development|AnyCPU' ">
>     <NuGetAudit>false</NuGetAudit>
>   </PropertyGroup>

As this is what epic themself chose to ultimately do too (CL description is taken from change description on epic's side)

weary salmon
#

is there a tip to speedup deployment on console ? It looks like it redeploys everything even when I made absolutely no changes to the game...

proven stone
#

which from my experience on my home network makes time between starting the deployment and actually playing close to a minute instead of 15-20 😄

weary salmon
#

It's kind of weird because it seems that unreal touches all the uasset files even without changing them, which causes the tools to send them again to the console... This is silly

young sedge
#

how would I go about setting up my project to generate different builds targeting different stores? most recommendations seem to be: 1) use different branches so each branch can carry different configuration files (to configure the online subsystem, for example) or 2) add .target.cs files and set CustomConfig = "Foo", which only works for source builds

#

seems like a very basic thing, but I just can't figure that out

winged moss
#
  1. is still the best option but if you're deadset on an EGL engine for whatever reason, you should be able to inject a static config layer even though it's a little more jank than CustomConfig
summer dock
young sedge
#

I was trying to avoid source builds this time around because I did this a while ago on a different project and ended up spending a lot of time fetching and building the engine rather than creating a game...

summer dock
#

It's not source engine dependent, just c++ project

young sedge
#

sorry, was replying to sswires' comment

#

@Karma how would you go about customizing .ini options using that? or do you just skip the configs and do it all in code? (not sure if that works for things like the online subsystem configuration)

summer dock
young sedge
#

I see... source build doesn't sound so bad then 🙂

summer dock
#

Depends, I would maybe be more worried having to remember to keep multiple ini files synced

#

I think I prefer having one and adjusting it as needed

young sedge
#

I was kind of hoping for something really simple like statically, version-controlled .ini files that would be picked up depending on whatever configuration I want to build

#

although, even with different targets configured it's not entirely trivial to build them other than with RunUAT

#

I mean, build testing the configuration right from within the IDE doesn't seem to work

#

probably not something that's very useful to begin with, I suppose

summer dock
#

I think CustomConfigs might be the correct way in reality... we just went down an old known path

Another question for us, that would actually be good to know is how granular it is, like we have 2 or 3 different flavors of android apk - if it is just platform variants, and not fully configurable, that wouldnt work out

young sedge
#

my understanding is that you can set CustomConfig to whatever value you choose and it'll then basically create a complete .ini config layer in a directory named after that

summer dock
#

And presumably just add/overwrite very specific things

young sedge
#

so you could probably have however many variants as you'd like but simply adding .target.cs files for each and setting different values in those

summer dock
#

I will have to check it out before starting next project : )

young sedge
#

are those Python scripts run via the target.cs files, or outside of RunUAT?

summer dock
summer dock
young sedge
#

passing -target=GameEGS to RunUAT did work, so I assumed that was the way it was meant to be used

summer dock
#

Hmm... done a full cleanup and rebuild? ( intermediate + binaries )

young sedge
#

haven't tried that... but it also looks like the projects in the solution aren't complete for some reason

#

the project that it created by default has all of the sources included, but the EGS and Steam variants don't

#

trusty old Visual Studio will actually run the build, but it doesn't actually compile any files

#

I'm probably probably doing this completely wrong, but I'm mostly just guessing, haven't been able to find any references to look at

summer dock
young sedge
#

D'oh! I was only adding TargetType.Game targets and then tried to build with the "Development Editor" configuration selected, which doesn't work

#

if I add TargetType.Editor targets, they work with that configuration

#

it's still not quite the same as with the default project, because that seems to automatically switch between the Game and Editor targets depending on what configuration I select in the IDE

winged moss
#

And even with a binary build, you don't really need to use ubtargs, you can define separate targets

young sedge
#

yeah, at the time I was tracking ue5-main, so it ended up being a bit wild

#

it was surprisingly stable, though

winged moss
#

Unless you have a good reason, I would definitely stick to the release branches. If you need a fix from main it's better to just cherry pick that individually

young sedge
#

I do this as a hobby, so my reason is "learning" and getting the latest and greatest seemed like a good idea to achieve that

#

fully agree that it's a bad idea for production

winged moss
#

It's not really representative of what a studio would be doing, even in pre-prod. Main is just a development trunk so the stability and completeness of old and new features will be pretty inconsistent

#

When a preview version comes out, that upcoming release would've been branched so that might be a better drop off point to test the latest and greatest

young sedge
#

it's not exactly bleeding edge at that point anymore, though 🙂

#

anyway, yes, if you want to actually release something, definitely not the way to go

#

I never quite figured out how to get off ue5-main and onto a release branch

#

I tried once (for 5.6, I think) but ended up unable to open the project because the assets had all been saved by a newer version

winged moss
#

You should be able to switch the branch and pull

#

And yes that's also another reason to not use main

#

Assets are stamped with that version's ...version and are not backwards compatible

young sedge
#

it might've worked if I had caught the right branching point

winged moss
#

For a real project you'd likely be making a branch to prepare an engine upgrade as well

young sedge
#

release branches are branched off of ue5-main at some point, though, so if I time it right I should be able to continue on the release branch instead of ue5-main, right?

winged moss
#

when a release is branched, main will be updated for whatever the next version number is

young sedge
#

right, so if I track ue5-main and then 5.7 is branched, I should be able to branch to 5.7 if I decide to stick to that

#

that way I should be able to get out of that uasset versioning thing

#

incidentally it looks like 5.7 was branched just a few days ago, so maybe I should give that a try

wheat roost
#

Hello

I want to automate the build and packing of android game using Jenkins. How to properly hide Android KeyStorePassword during build process?
I see the following solutions, but they have disadvantages:

  1. Use a script to write KeyStorePassword value directly to DefaultEngine.ini before starting the build. Roll back DefaultEngine.ini after packing finish.
    Problem: What if the key can be retrieved from the apk? Or is it not worth worrying about?

  2. Override KeyStorePassword value by UBT cmd parameter -ini:Engine:[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]:KeyStorePassword="PASSWORD"
    Problem: Password string will be write to build log file, where other team member can see him. Perhaps there is a way to hide key in log?

What other solutions exist to this problem?

summer dock
summer dock
young sedge
#

once past the branch point, all the packages would get saved with the new version, which means you'd need to wait for the next release to make the switch

wheat roost
steep vine
#

Hey there having an issue on 5.6 where when I put my game on steam none of the multiplayer lobbies are showing

steep vine
mystic atlas
#

Does it cause you to crosspost too?

steep vine
pliant mason
#

Hello, I am not sure if this is the correct place (hopefully it is).
I downloaded UE from git, created project and tried to build/package it with UAT, but it says that my Win.Automation.dll and other automation dlls are missing. I looked on the internet and they said that those should have been downloaded with launching Setup.bat which i launched several times. Did anyone encounter missing automation dlls?
Previously when I was using epic launcher solution - all dlls are in place and project packaging runs fine.

mystic atlas
#

Did you build the entire source to get the dlls?

#

(or whatever else might be missing)

pliant mason
#

Hello @mystic atlas , I opened the UE.sln, added my project (add existing), then on my project solution I generated vs files again. In VS I did do the solution Build (took around 4 hours). I guess this should generate everything necessary right? But it might be, that I did some steps wrong or in wrong order.

mystic atlas
#

The first 2 steps weren't really necessary. And, yeah, that should have built everything.

pliant mason
#

I now opened just the Engine solution and its building something, but at start it still listed AutomationTool errors, where it could not find the Automation.dlls - hopefully they will be created in some other build phase.

empty furnace
#

first time packaging and getting this:

PackagingResults: Warning: Visual Studio 2022 compiler is not a preferred version
PackagingResults: Error: Unknown Error

#

i spent a lot of time fixing bugs but now left with this, AI said the visual studio warning wouldnt stop the packaging, where do i start with this?

#

blueprint only btw, i have not written any c++ on this project

winged moss
empty furnace
#

fun thing i got really close to that. but didnt see the individual components, give me a moment

empty furnace
#

idk why visionOS is there, i cant find it active anywhere

winged moss
#

Well that says "warning" anyway. Can you share the full log?

empty furnace
#

trying to cook atm, give me a moment

#

full log, do you mean just all the text or the appdata logs?

#

cooking succeeded, trying to package again

winged moss
#

Either. Because the last thing you see isn't always the problem

#

And these shouldn't be two separate manual actions anyway

empty furnace
#

found a fatal error LNK1181 in the logs, give me a moment to google it and see if i can figure it out my self and if not ill post the logs

#

seems there still is something missing from my visual studio, mind taking a look at what i have checked? also, does it matter if i have multiple of the MSVCv143 build tools just to be safe i got the right one? im pretty clueless on this part

winged moss
#

Can you just share the actual error?

mystic atlas
#

But we'll steal his project!

empty furnace
empty furnace
mystic atlas
#

You're causing more bother by not giving the actual log so people can look at it.

empty furnace
#

should i post the entire log or is this enough?

winged moss
#

delayimp.lib should come from the MSVC toolchain

empty furnace
#

can i add multiple to be safe or is that bad?

#

i also found it should be the msvc, the pinned node specified which one i should pick, but can i also include the newest etc or does it have to be only that one

winged moss
#

can you show what with "14.38" in the name you have checked

#

it should be present on disk

empty furnace
#

give me a moment

winged moss
#

I asked to show what you installed in the VS installer

#

under "individual components"

#

search 14.38 and show what you ticked. this definitely does not look correct

empty furnace
winged moss
#

yeah that's not what the pin told you to install. that's the ARM toolchain

#

there's one specifically for x86/64, the CPU type you're actually compiling for

empty furnace
#

give me a moment

#

okei it worked now, wish i had asked for help yesterday but at least my log is bug free now

#

sorry for missreading, i really tried to read it many times to be sure but sometimes i still overlook things

steep vine
#

Hey there having an issue on 5.6 where when I put my game on steam none of the multiplayer lobbies are showing, using advanced session btw

proven stone
steep vine
winged moss
#

make a development build then

#

you can have logs for shipping, but requires a source build

steep vine
empty furnace
#

When I check the game in editor it runs like this, when I run the packaged game it uses 50% of my CPU, is this normal? it does however not change the usage much when i perform different actions even when trying to push it.
I removed all binds I could find, i also noticed the cpu usage drops with a few % every time a "tick gate" is opened and goes back up when it closes

sorry if its the wrong place to ask

candid coral
#

how does cook on the fly works

#

when i add/edit assets it will cook them ?

#

for testing i just enabled it and didnt see anything in the console, i expected it to start cooking what isnt cooked

winged moss
#

But a dev build will likely help you diagnose

#

And that's something you can do with the EGL engine

pliant mason
#

DebugGame Editor rebuild (from git) causes

190>CSC : error CS0006: Metadata file 'D:\UEProjects\UnrealEngine54\Engine\Platforms\VisionOS\Binaries\DotNET\AutomationTool\AutomationScripts\ref\VisionOS.Automation.dll' could not be found
190>CSC : error CS0006: Metadata file 'D:\UEProjects\UnrealEngine54\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Windows\ref\Win.Automation.dll' could not be found```
How to get those dlls?
steep vine
delicate crane
#

I'm not sure what exactly is happening here. I upgraded from 5.5 to 5.6.1 (source engine) and I've tried this with the 5.6 binary engine too. But every time I package it's always returns an error of this:

PackagingResults: Warning: 'UStruct::IsChildOf' was called with a null 'this' pointer - this is no longer supported. UATHelper: Packaging (Windows): LogWindows: Error: appError called: Assertion failed: IsThisNotNull(this, "UStruct::IsChildOf") [File:F:\creddick_DOA_main\Engine\Source\Runtime\CoreUObject\Private\UObject\Class.cpp] [Line: 2758]

I've tried Reloading, Refreshing All Nodes and Compiling all of the blueprints. It's never the same blueprint it's compiling right before the error occurs on packaging either. I've tried quite a bit at this point. I'm not sure if anyone else has been encountering this too?

paper hemlock
#

Hello, I migrated my project from 5.5.4 to 5.6.1, and without adding any assets and using (as far as I can tell) equivalent packaging settings, with the same maps selected for cooking, the output size increased from 2gb to 8gb. Are there any resources on how to optimize the output size, ideally for 5.6 specifically?

jaunty hemlock
#

I cannot get my assets to package into a small chunk

#

no matter what it just disrespects all my chunk settings, whether manual, via asset label, using directories to always cook

jaunty hemlock
# paper hemlock Hello, I migrated my project from 5.5.4 to 5.6.1, and without adding any assets ...

Get my 12 hour course on how to make 2D games with Unreal Engine:
https://tinyurl.com/Ultimate2D

Support the channel on Patreon:
https://www.patreon.com/CobraCode

Write up with additional information:
https://tinyurl.com/UnrealTiny

This video is the Ultimate Guide on how to reduce packaged game size with Unreal Engine and make your executable...

▶ Play video
#

lucky you I came across this while trying to fix my packaging issue

winged moss
jaunty hemlock
#

I'm only trying to package a small mod and there are so many relevant settings idk where to start 😅

#

I just came across asset manager settings and theyre not good so I'll try that first

jaunty hemlock
#

I managed to fix it somehow

#

I think it was clearing the asset manager of silly settings that came from who knows where

paper hemlock
paper hemlock
paper hemlock
#

I figured out my issue, it was a bug/unexpected behavior with third party plugin (wwise in this case, had to uncheck "Package as Bulk Data" in plugin project settings, it duplicated the entire sound bank for every event)

jaunty hemlock
#

and here's me not even able to package a single soundbank lol

#

glad you got it figured out

candid crown
#

Is there a way to get RunUAT.bat BuildGraph BuildEditorAndTools with a foreign project(ie, the game project is not under the engine root)?

amber forge
#

With cooked output now being stored using the Zen system in 5.6 (as opposed to loose files in the saved/cooked folder), does this mean it's no longer possible to see an overview of cooked files? I liked being able to check the loose files in saved/cooked folder to see if any unwanted assets or directories were getting cooked, but from what I can tell, this is no longer possible?

amber forge
rigid forum
#

hi guys i am trying to upload my ios Build
ERROR on validation This app was built with the iOS 17.5 SDK. All iOS and iPadOS apps must be built wit
UE 5.5.4 and xcode 16.4

summer dock
rigid forum
#

this old looks like for UE4

summer dock
#

unreal docs can still be a bit of a mess

open rapids
#

having the same error

rigid forum
# open rapids Did u solve this?

try to

  1. refresh this blueprint Nodes
  2. Create a copy of same struct and use this one instead
  3. Change the location of the current struct or class
rigid forum
open rapids
#

the error doesnt even tell which struct or blueprint, as the previous guy said

#

with debugging symbols and logging

rigid forum
#

for me also refresh doesnt work , but said it maybe will work for you , but in my case it was the exact blueprints name.

zinc gazelle
#

I have a game based on Lyra and I'm trying to remove as much as possible from the cooked content. It looks like many things are getting cooked that we don't use in our maps. I've removed everything in "Assets to Scan" (except the game feature data which is required), both in the project and in the plugins assets. I set the default map and game mode to the default UE ones; in the list of maps to cook, I've chosen just the default UE template; I've deleted the Primary Assets labels that are on the root of Content (game content and plugins content); but still I'm getting 5000 unused assets coming along

winged moss
#

but BP structs are semi-cursed for stuff like this

zinc gazelle
#

I've already emptied all the "assets to scan" in each gamefeature plugin

austere nebula
# summer dock wah that's a heavy build time : E

I finally got this all working and wanted to post some notes to help the next people.

  1. Do not use UnrealPak tool directly to unpak/repak. I got this working for our windows build to only find UnrealPak doesn't support unpacking on linux which blocked our dserver builds. afaict superficially its because of the hard-coded slashes for pak file path here - https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Developer/PakFileUtilities/Private/PakFileUtilities.cpp#L4056

  2. Instead I utilized RunUAT and split into two parts. Our build steps cook+stage (override -stagingdirectory) and publish that as an artifact. Our deploy steps later are able to use RunUAT to -pak -skipcook -archive. The only weird parts were where I had to copy from our loose build into the Saved/Cooked dirs. Would've been nice if I could just run the commands on the loose build in place by -skipstage and -stagingdirectory but that didn't work

Anyway hope this helps someone one day

delicate crane
zinc gazelle
#

I've readded rules like this in the Project Settings, as well as in the data of every plugin (with their respective directories), but there are maps still being cooked while I don't reference them

delicate crane
# open rapids Did u solve this?

Ok sooo, I managed to solve my issue. Here's what I found/did to fix it:

During the build I ensured I had a very strong verbosity with the logs

[Core.Log]
LogBlueprint=VeryVerbose
LogCook=VeryVerbose

Adding this to the DefaultEngine.ini to get a better look at things in the log when it's cooking

What I found out:

  • I think for those at least in Source Control and for me at least, The files it hangs up on before hitting the IsChildOf is null stuff in the log, I rename the asset, clean the redirectors, push to Perforce, Re-name it back to what it was, clean those redirectors again, push to Perforce. It seems to resolve those issues (Keep in mind that is if you don't have any questionable structs being bad if that is the case, would go through the blueprints and refreshing all nodes on those blueprints :/)
  • I had one last pesky problem and it was actually a bad map. It didn't show open as a bad map in editor, but packaging, it reeaallyy did not like packaging that map. Luckily in my scenario it was a development throw away map. Just created a new map and had that as a development map and deleted the old one. That seemed to finish the job with my last hiccup

I hope this helps for those having the Struct::IsChildOf is null issue!

Keep in mind I've been figuring this out for a week and a half now 😅

zinc gazelle
winged moss
delicate crane
chilly snow
#

Hi I tried to zip my project into a connected USB drive, does anyone know what this is?

#

no matter what I press it doesn't let me save

heavy raft
#

UATHelper: Packaging (Windows): at AutomationTool.Automation.ExecuteAsync(List1 CommandsToExecute, Dictionary2 Commands) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 270
UATHelper: Packaging (Windows): at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 164
UATHelper: Packaging (Windows): (see C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 22s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

#

I get this error can anyone help?

winged moss
heavy raft
#

i can dm it to you part by part if you wanna try to help

#

but just give me 15-20 mins i got work to do rn

summer dock
winged moss
#

I'm not going to do stuff over DM

#

You can attach files directly to discord, or use a pastebin/gist

heavy raft
#

wait a sec

winged moss
#

This looks like you're using a custom icon that can't be read

heavy raft
#

uh i changed it

#

actually i just used another method to create an ico file

#

it works now

#

thx mate

zinc gazelle
stiff storm
#

Can anyone help me out with the rules for including non-stock fonts in shipping packages? I have a project that packaged shipping runs fine when I use the stock Roboto font, but if I swap the single UI data asset reference to point at the imported font, the shipping crashes immediately at start up when it tries to find said font. All the FontFaces are set to inline to be sure they're packaged inside the uasset.

winged moss
#

I can't say I've ever had grief with fonts. What is the crash?

stiff storm
#
PistePerfect-Win64-Shipping.exe!UObjectBaseUtility::GetInterfaceAddress(class UClass *) C++ PistePerfect-Win64-Shipping.exe!FSlateFontInfo::GetCompositeFont(void) C++ PistePerfect-Win64-Shipping.exe!FCompositeFontCache::GetFontDataForCodepoint(struct FSlateFontInfo const &,char32_t,float &) C++ PistePerfect-Win64-Shipping.exe!FSlateTextShaper::PerformKerningOnlyTextShaping(wchar_t const *,int,int,struct FSlateFontInfo const &,float,class TArray<struct FShapedGlyphEntry,class TSizedDefaultAllocator<32> > &) C++

Etc... I've scoured through various settings and the only thing that fixes the crash is reverting the imported font to Roboto. The Editor runs fine.

winged moss
#

This is pretty badly formatted, but you probably need to catch this in a debugger. For example what is FontObject?

stiff storm
#

Apologies about the formatting - this is my C&P from Visual Studio catching the crash. I just grabbed the top of the callstack. FontObject is likely to be my FSlateFontInfo from the data asset I'm using to inject the desired font import.

winged moss
#

well you need to sure sure that everything is set as expected using the debugger

#

but saying you're "injecting" a font does make me think you're doing something non-standard

raw timber
#

Hey, i m trying to copy files after the packaging in the root of the output directory using PostBuildSteps

#

I found a TargetOutputDirectory variable but it doesn t seem to be evaluated, any ideas ?

stiff storm
winged moss
#

so yeah that sounds super duper non-standard

#

I've never had to worry about that

stiff storm
delicate crane
# delicate crane True, but in our dev cycle we want to include that map. The game is not released...

It's weird. The more that's building, the more I'm connecting the dots on this issue. As soon as I think I have the issue resolved, it shows its head on the Struct::IsChildOf issue again.

That being said though, whenever new changes come in from Source Control, that's when it seems to fail the build. What seems to never fail after what I did after prior to all of the Blueprint recompiling, refreshing, and renaming and naming it back again, it seems to delete the DerivedDataCache, Intermediate, Saved and Binaries whenever new changes come about and then build, so far, build successfully. Never had this issue prior to UE 5.6.1 . Maybe something changed on cooked content after new changes from Source Control come about and Unreal doesn't know what to do about those previously cooked changes when packaging? Because when doing it again right after, it fails

#

Donating my cook log for the UStruct::IsChildOf/Exception access violation cook error since 5.6.1

scenic coral
#

when I try to uploadn my game with steampipe build uploader I got those error code. how can I fix it. There is no place here where I can enter the SteamGuard code.
ERROR: An error (-102) has occurred during uploading. Please check you correctly entered your credentials and steamguard code if applicable.

winged moss
#

when steamcmd expects a steamguard code it'll prompt you

#

if this is the only useful information you see, then I would do the first thing, check your credentials

scenic coral
#

steamcmd opens and immediately closes. all my credentials correct I checked them few times

#

C:\Users\yasar\OneDrive\Masaüstü\sdk\tools\ContentBuilder\builder\steamcmd.exe +login XXXXXX "XXXXXXXXX" +run_app_build "C:\Users\yasar\OneDrive\Masaüstü\sdk\tools\ContentBuilder\scripts\app_***********.vdf" +quit

*** ERROR: An error (-102) has occurred during uploading. Please check you correctly entered your credentials and steamguard code if applicable. ***

burnt mountain
#

anyone have a helpful guide to packageing on mac? I got a mac to port my game over with but im haveing trouble figureing it out

jovial sky
#

Does anyone have any tips for packaging and cook settings for Landmass? I keep getting errors and can’t find anything online

jovial sky
jovial sky
#
Epic Developer Community Forums

Removing some of these assets can result in a broken Landscape Editor (Engine crash on landscape editor load) The temp fix im using right now is simple and listed below, go into the source, find and nuke the reference, these assets have no impact on my editor / packaged build when the edits below are performed, im not entirely sure but i assume...

#

Incase anyone has the same issues

summer dock
# jovial sky

please post as text ( or .txt file ), easier to read + copypaste stuff

summer dock
burnt mountain
#

Could anyone tell me why my game is seeing UDP messages when in the editor, but it loses it when I package it for shipping? im at a total loss

rigid forum
#

My iOS build size is only 200 MB, and I think it’s missing the maps. The original Android build is around 1.5 GB, but when I upload it to iOS TestFlight, it shows as just 200 MB and crashes on launch.

summer dock
rigid forum
summer dock
rigid forum
winged moss
#

building it in the IDE isn't going to do the cook

boreal quest
#

Is it possible to debug issues and or crashes in packaged builds? I occasionally see this in my packaged build but it does not happen in debug builds or in editor. I cannot figure out what is causing it. I am on 5.5

lyric imp
#

Hey how do have my build be register by windows so it isn’t detected as a virus whenever some installs it from the internet?

little cloak
#

Are the Cooking step in the Project launcher and the 'Cook Content' under platform the same thing? One seems faster.

#

Launcher is "By the book"

summer dock
fickle turtle
#

Hello, I'm having a problem with packaged builds complaining about dx12 RHI. is this a good channel for this?

flint roost
#

I'm having an issue with ue5.6 always packaging for a "development" build, when it should be packaging a shipped build. Has anyone experienced this or know of a fix for it?

proven stone
flint roost
summer dock
winged moss
#

Though the question was about debugging, which is possible either through -waitfordebugger or -basedir

#

BugSplat is a pretty nice turnkey solution for collecting crash dumps, I've used it on a couple of projects in the past

#

We tried to roll our own but BugSplat was way ahead of anything we could build internally

winter tree
#

can anyone help me understand what I'm not understanding about the asset manager? in my game, I have data assets that have different soft references to skeletal mesh assets for a customization system I have that sets the current asset to use for the player's mesh, there's 4 different skeletal mesh assets referenced in this DA but only the 1st and default one works correctly, the others don't load/exist in the shipping build... I tried adding all of them to a PAL set to Always Cook, but it still doesn't load them, the only thing that fixes it is to add hard references to them in an array on the player pawn

winter tree
#

I guess I've misunderstood what PALs are for, they're mainly for managing chunks?

winter tree
#

I figured it out, it was a logic issue... I was getting a texture from an unloaded mesh, loading the mesh before grabbing the texture is the fix

candid crown
#

Dumb question.... if I use bUseZenStore=true how do I make a non-streaming packaged builds?

candid crown
hearty stone
#

In 5.7 Preview1 (from Github) for Windows x64, "Package Project" and "Cook Content" are grayed out. The Windows 11 SDK is installed properly (10.0.22621.0) and I even did a Force Update. I haven't seen this issue in previous versions of the engine. Not sure if it's something I can fix or may just be a bug in 5.7 preview. Has anyone seen these grayed out before?

winged moss
hearty stone
winged moss
#

what do you see? have you tried packaging via command line and/or the project launcher?

hearty stone
#

I haven't used the command line or project launcher before because package project always worked.

winged moss
#

And when you expand the Windows submenu?

#

Packaging via the editor is pretty much the least preferable way to package anyway

hearty stone
hearty stone
hearty stone
#

Project Launcher worked, it cooked/Packages the project into the Saved folder.
I also figured out why it is grayed out. See the black dot on the left of Windows, I clicked it and it turned white and Package Project became clickable.

amber forge
#

Hi, in UE 5.6 when I try to build and launch the game through Rider IDE, with 'game' as target, and in any build configuration mode (DebugGame/Development/Shipping) I get the following error:

I did not get this error in 5.5 so I assume it is the result of new changes made to the packaging process involving Zen storage in 5.6. I've already tried adding the -pak argument to my build configuration(s), but to no avail. Has anyone encountered this, or have any ideas on how to prevent it? I would really like to be able to debug my game through Rider in shipping configuration again

proven stone
amber forge
livid cove
#

Not entirely sure if this counts as packaging but: I've been tasked with making sure our users can't modify CVars via ini files, and could use some pointers on how to do that.
Right now, if I modify the Engine.ini file in LocalAppData in a shipping build the game seems to load and apply the CVars under [SystemSettings] and then it deletes them from the file. And I honestly don't understand why it does this.
What's the point in removing them if it's going to just apply them anyway?

tribal hazel
#

Anybody know how to read UBTArgs in a specific module? Maybe overshooting here, but trying to make OnlineSubSystemSteam use a different set of achievements (and dev appid) when building a demo build. I see that <project>.Target.cs can use the CommandLine attribute and set defines in GlobalDefinitions and ProjectDefinitions, but I'm worried that setting GlobalDefinitions will recompile the whole project any time I swap from demo to not.

#

really would jsut like to read ubtargs from the module rules

#

Confirmed, all engine modules recompile if I do this via a Target.cs & globalDefinitions, that's not really acceptable

summer dock
chilly snow
#

question has anyone had any problems packaging games with Unreal's default built-in landscape brush material brush for waters & lakes & rivers & mountains & stuff?

#

These all look experimental & beta mode and therefore very unstable, so my question is it its still possible to package with those bp_brushes in the game

#

some people advised me against using Unreal's built-in blueprint brushes

summer dock
chilly snow
#

but Ive been seeing alot of other new people trying to make it work and I was just curious

summer dock
# chilly snow I did try it and it didn't work

you can make guesses and possible fixes based on the errors in the packaging log, but in the end, experimental is what it is - fun stuff to try out, but shouldn't build anything too serious around it

chilly snow
#

Im not new to Unreal but I see a lot of newbies using that built-in water for games

gusty arrow
#

When doing additional target with custom configs, do I also need to specify the custom config in cook command itself or should the target be enough?
I've set a custom config, that adds some assets to never cook directory. When I simply run the BuildCookRun with -target=Some, the cook step completely skips my custom config.
I would recon, it would pull the CustomConfig from the target, but it doesn't, only works when i do -CustomConfig=SomeConfig

Some.Target.cs
public class SomeTarget : SomeBaseTarget
{
    public SomeTarget(TargetInfo Target) : base(Target)
    {
        BuildEnvironment = TargetBuildEnvironment.Unique;

        CustomConfig = "SomeConfig";

        Console.WriteLine($"[TEST] Custom Config = {CustomConfig}");
    }
}```
winged moss
#

well does the build output help any with this?

#

not sure why BuildEnvironment = TargetBuildEnvironment.Unique; is there. changing this value on a binary engine doesn't do a whole lot, and CustomConfig sets defines in the engine

gusty arrow
#
  • Not that I noticed, though I didn't let the build to finish, as its 4h iteration time. Will have to check in the morning once it finishes for the full output.
    The target is definitely used when building executable (as it prints my debug text). It doesn't seem to be passed at all to the cook step though, so I guess that's why the custom argument helps.
  • For the environment, just did it as a sanity check, since I noticed RequiresUniqueBuildEnvironment attribute on the CustomConfig property.
winged moss
bleak rock
#

Hello, I'm trying to package my server for Linux, but it's saying "A required platform SDK is missing: LinuxServer".

Previously I installed the right cross-compile toolchain for 5.5 (the version I'm on) from docs, but I have the error regardless. In the past I had the toolchain for 5.2, and the compilation button in Project Launcher would let me through to then tell me that I must have at least clangd 18.x, even though I already had it. Deleting 15.0.1 made it not let me even try to compile.

If I do echo %LINUX_MULTIARCH_ROOT%, it tells me C:\UnrealToolchains\v23_clang-18.1.0-rockylinux8, so it should be correct.

Does anyone know what it might be?

Update: had to restart the computer after installing the newest clangd. Now it works correctly

nocturne sorrel
#

Unreal 4.27 during plugin build/packing via CMD or editorUI keep using VS2017 and a certain thirdparty which i plan to use on can't work with VS207
anyone knows how to change toolchain for GameBuild verson?
my plugin Editor build is using VS2022 toolchain and never gets any issue.

#

note: my PC has vs2022 and vs2017 is installed.

craggy cobalt
# nocturne sorrel Unreal 4.27 during plugin build/packing via CMD or editorUI keep using VS2017 an...

Unreal 4.27 does support VS 2019 toolchains but you might be able to get it building with 2022 toolchains. UBT will always use its preferred toolchain version if its available, otherwise it will typically pick the newest. If you built once with a non-preferred toolchain and then installed a preferred toolchain you must delete Intermediate for it to pick it up and rebuild. Sounds more like in this case you would like to force it to use a specific toolchain regardless of its preferred version, to do that you can specify it in BuildConfiguration.xml

nocturne sorrel
#

should I delet VS2017 and have only VS2019 so it auto picks it?

nocturne sorrel
#

as per ur sguuestion i deleted intermids of my project yet when building plugin for game its picking vs2017.

  1. Deletd Packed/HostProject/ and project/plugin Intermediate.
  2. Create/update %AppData%\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml: with
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
  <WindowsPlatform>
    <Compiler>VisualStudio2022</Compiler>
  </WindowsPlatform>
</Configuration>
  1. Re-run BuildPlugin. it still picked vs2017 for game build.

yet to del the plugin's intermd

craggy cobalt
# nocturne sorrel as per ur sguuestion i deleted intermids of my project yet when building plugin...

first, do yourself a favor and put it in your project not in some user level folder

<PROJECT_DIRECTORY>/Saved/UnrealBuildTool/BuildConfiguration.xml
https://dev.epicgames.com/documentation/en-us/unreal-engine/build-configuration-for-unreal-engine

Second, you want CompilerVersion:

CompilerVersion : The specific compiler version to use. This may be a specific version number (for example, "14.13.26128"), the string "Latest" to select the newest available version, or the string "Preview" to select the newest available preview version. By default, and if it is available, we use the toolchain version indicated by WindowsPlatform.DefaultToolChainVersion (otherwise, we use the latest version).
https://dev.epicgames.com/documentation/en-us/unreal-engine/build-configuration-for-unreal-engine

Third, stop asking AI and go find docs instead.

#

There's also tons of people who have posted about this and got help setting up specific tool chain versions here on the discord, you can search for those and read the conversations

#

If you want to keep asking AI just internalize that it will be dead wrong quite often. It's a souped up Google search, so it can be wrong just as often as forum posts are wrong

gritty helm
craggy cobalt
#

totally spaced that i should more properly go find 4.27 docs here 😓

nocturne sorrel
#
  1. yea AI could not the actual cause but still when we don't get it won;t hurt to seek some info.
  2. thanks for the tip but the issue wasn't any of these.
    3.issue solved
    so if i have VS 2017 installed during Plugin Packing using BuildPlugin from automation tool for game build pack it will force to select VS 2017.

and i uninstalled VS2017 since onxx runtime was facing issues with VS2017
not having VS2017 install and control via that html allowed me to even use VS2022.
finally i can pack my plugin with my water section 🙂
@craggy cobalt

past portal
#

Hi, trying to package in 5.7 to play a bit with it (experimental) but the package and cool option are grayed out. At least doesn’t work like in 5.6 and previous version and I’m a bit lost. Any idea here ?

past portal
nocturne sorrel
past portal
#

And now starts debugging 🙂

nocturne sorrel
past portal
#

Thanks

steady meteor
#

"UATHelper: Packaging (Windows): LogCookCommandlet: Display: GarbageCollection... (Exceeded Max Memory)" ..I have 32 GB ram, was able to package the project in 4.27, but struggling in UE5.6, it seemed to loop, and then the GC kicked in, again and again. I wonder what to do now..

#

"UATHelper: Packaging (Windows): Cook stalled probably because of memory settings being too restrictive and triggering garbage collection."

#

"UATHelper: Packaging (Windows): CookSettings.MemoryMinFreePhysical: Available physical memory 1005MiB is less than 2048MiB."

winged moss
steady meteor
# winged moss 32GB is incredibly low to start with. And since your paste says UATHelper, I ass...

Yup, I've got an ancient machine, 8-10 year old components, except the gfx card which is new. Nowadays 32GB is low. I didn't know you could package outside editor, looking into it. I managed to get it to package though, in editor, finished without errors, and running two instances of the game one on Sandboxie and one outside, with two steam accounts and the works, so I am closer to getting to test multiplayer on steam! Which is so far so good.

mortal gyro
#

I've recently use goolge drive desktop to backup my UE5.6 project
While packaging, UE5 report an error saying it coulding delete intermediate and staging folders.

I tried turn off google drive sync and close the app and it still couldn't delete it - I end up manualy delete these folders and packaging works.

Anybody encounter similar issue?

static lynx
#

Hey, anyone here experienced with chunking?
I am using Primary Asset Labels to make sure some of our assets are put in their own chunks when packaging. However, due to references and dependencies, lots of assets get duplicated during packaging, bloating our build size. I understand why it happens but I cannot eliminate all those dependencies, so I thought I could use Force One Chunk Per File and a "Shared" asset label that covers all Content to ensure Assets with more than 1 chunk get put into Chunk 0 only. However, now all assets get put into Chunk 0 and I don't know how to solve this.

steady meteor
#

UATHelper: Packaging (Windows): LogScript: Warning: Script Msg: No world was found for object (/Game/Blueprints/Constructs/BP_PC_Ship_AirQuantumSlicer_001.Default__BP_PC_Ship_AirQuantumSlicer_001_C) passed in to UEngine::GetWorldFromContextObject().
PackagingResults: Warning: Script Msg: No world was found for object (/Game/Blueprints/Constructs/BP_PC_Ship_AirQuantumJumbler_001.Default__BP_PC_Ship_AirQuantumJumbler_001_C) passed in to UEngine::GetWorldFromContextObject().

#

I get 1000s of these when packaging, I have over 100 blueprints that inherit from c++ classes, actors that have a constructor that makes components and need GetWorld in them, but when prototypes are constructed there is no world object hmm.. Or something..

#

The packaged version works, but IDK how to silence this warning..

winged moss
mortal gyro
winged moss
#

you wouldn't even have deriveddatacache/intermediate/saved in source control to begin with

mortal gyro
lone forge
#

I'm about to lose my mind. My 5.7 project has been working fine. I packaged it, people are playing on the dedicated servers, etc. When I package now the packaging works but nobody can run it. Nothing happens. Even the dedicated server does the same. No process starts, no log file is made with a dev build, not so much as a flicker. Anyone seen this?

summer dock
covert plank
#

Hey, is there any usefull tutorial on how to correctly setup DLCs via pugin? the official docs only show it for patching and everything only is just showing some hacking around it for steam.

We want and need the propper way. we simply don't find usefull informations on it

winged moss
covert plank
#

We are not using GFP I think. we use regular chunking. It's simply unclear how to correctly use this pipeline

winged moss
#

then a primary asset label I guess, you can specify a unique chunk ID in there, and at least then, you can make sure the pak/ucas files matching that chunk are a part of the DLC instead

#

you can cook the DLC individually, since that's how a lot of UGC implementations in Unreal work

#

but to me, for both DLCs and UGC, game feature plugins make a ton of sense

proven stone
#

generally the correct way is to make a plugin (either a GFP or normal plugin) and then use the CLI (that's the only way I know of) to cook that plugin separately as a DLC (there are special options for that) which will provide separate pak files which are based on the base game which can then be put alongside normal game.... but honestly, I've not really done DLC cooking since like UE 4.5 so I don't remember anymore - all I know is that there was a nice documentation on the old old wiki (while it still was a wiki based documentation) but it got lost with move to the new documentation system years ago

#

can't provide much more complete informations other than this... although sswire's solution would most likely work too, but wouldn't prevent you cross-linking the chunks and thus your game potentially crashing or failing due to lack of those paks

#

these days I'd also recommend using GFPs as they're hybrid between a plugin and built-in module/folder etc. they have different mechanisms for loading which explicitly allow for auto registration etc. etc.

rigid kiln
#

Hello, so I have a small problem to which I can't find a solution on the internet.

I have a game with pixal art textures. Inside the editor and in the preview they look crisp and clean, as they should, but as soon as I package the game and export it, inside the .exe, the textures are all blurry and even have texture errors.

#

First picture is how it should look like and second one is how it looks in the .exe

#

I don#t know what could be the cause of it. The options of the textures themself work and I checked the packaging options.

rigid kiln
#

Also here are the packaging settings. I am sorry to not have them included earlier.

rigid kiln
#

Help is still needed ;-;

summer dock
#

checklist

  • Texture Compression - are you using "no compression" for the pixel textures?
  • mipmaps maybe?
    I am just shooting ideas around. Maybe show also an example of a specific texture setting
rigid kiln
#

Hi thank you so much for your suggestions. I will send a screenshot

#

These are the texture settings of the closet, you can see in the screenshot, with the texture errors.

rigid kiln
rigid kiln
summer dock
rigid kiln
#

I have turned them off, because I read multiple times that they can cause blurry problems.

summer dock
rigid kiln
rigid kiln
#

I just packaged the wrong world so I will need another 5 minutes

#

All of them look exactly the same.

#

So no issues in the test project

rigid kiln
#

Thank you for your trouble shooting trick. I should do that more often in the future.

#

@summer dock And special thank you for taking your time to help me. I really appreciate that ^^

summer dock
chilly snow
#

How would I resolve those errors?

#

I solved alot of errors, most of them are gone, but now I have some new different remaining errors like these.

winged moss
#

this looks like corrupt files to me

chilly snow
winged moss
# chilly snow how can they be removed?

cooking is based on references (unless your map list is empty then iirc it cooks everything) so I would assume something is still referencing it, but the only surefire way would be removing those assets from the filesystem. this is an important reminder to use source control as it's very easy to get yourself out of spots of bother like this

urban hollow
#

I need help or a good tut on how to package a DLC to steam. Any plugins or documentation would help

summer dock
urban hollow
winged moss
# urban hollow Thanks for that info can you elaborate more for clarity?

I don't think that's an ideal solution anyway. We were talking about this the other day. With game features or a primary asset label, you can set a specific chunk for the DLC plugin's assets go in, you can have the associated Pak/UCAS files from that chunk to be a part of the DLC app.

The other approach is how a lot of UGC implementations do it: cooking just the plugin

summer dock
# urban hollow Thanks for that info can you elaborate more for clarity?

sswires is def worth listening to on this : but do tell which bit are you struggling with?

Optimally you could do a small test, like maybe create a folder DummyDLC, put some assets in there, and see if you can toggle the feature on/off as needed.

Then you want to be able to read the purchase status to control the toggle.

Finally, for clean separation packaging, maybe see if you can find the previous posts on the subject sswires mentions

winged moss
#

Game features are pretty damn nice. Would fully recommend GFPs for a bunch of use cases. Live services, games designed to have longer shelf lives with frequent content updates that don't quite fall under that label, UGC/modding, DLC.

summer dock
#
Epic Developer Community Forums

In this tutorial we’re going to create our own Game Feature Plugin in Lyra, and expose it so that it can be selected as an Experience in the Lyra Front End UI. This is the preferred way to build content on top of the systems and frameworks that make up Lyra. https://dev.epicgames.com/community/learning/tutorials/rdW2/unreal-engine-how-to-crea...

#

That said, if somebody wants the easiest, most painless way forward for something relatively small, it might be conveivable to just take the 'easy way' to start with

winged moss
#

Lyra might be an overwhelming example of them, but the gist of it is that you can easily activate and deactivate them at runtime really easily, the GFA asset has a modular list of actions you can perform based on that

#

Like with a DLC GFP you could have a GFA saying "add this item to the loot table"

summer dock
#

I can't find any docs on "GFA" at a quick glance though?

winged moss
#

Game feature action

winged moss
#

When you create a GFP that's the asset it creates at the root of the plugin, acting as a manifest of sorts setting up what the GFP does

summer dock
#

I am definitely interested in this area, as I want to do our next game a lot better in terms of initial install size and granular feature downloads

urban hollow
#

Thank you guys for the help

hexed bronze
#

Hello people, i'm having a problem where shaders don't compile on the packaged game when i change the scalability settings.
i use quality switches on the materials.
they do compile on the editor, and they seem to be cooked.
i get this error.
it was working before, so i think i broke something. i'm using 5.6
[2025.10.19-05.45.35:326][881]LogMaterial: Error: Tried to access an uncooked shader map ID in a cooked application [2025.10.19-05.45.35:326][881]LogMaterial: Warning: Invalid shader map ID caching shaders for 'GhostFB_DM', will use default material. [2025.10.19-05.45.35:326][881]LogMaterial: Can't compile GhostFB_DM with cooked content, will use default material instead [2025.10.19-05.45.35:326][881]LogMaterial: Warning: [AssetLog] /home/nande/work/repos/LifeDev/Build/Linux_dev/LifeDev/Content/LifeDev/Game/Env/Ghost/GhostFB_DM: Failed to compile Material for platform SF_VULKAN_SM6, Default Material will be used in game.

edit: fixed. it was the flag "discard unused quality levels"

spring coral
#

Hi everyone! From reading the past posts on this server, it seems that chunking with Primary Asset Labels is a bit broken? I can package new chunk paks but all of them are way to small and don't contain any assets. I'm specifically interested in putting certain font faces into a new chunk because they make the final bundle too big for upload to google play store. Also checking Label Assets in My Directory does nothing. I'm currently on version 5.5, is this system maybe fixed in higher versions of the engine?

proven stone
spring coral
#

I'll send a few screenshots soon, but just a quick question: if I try to move one asset bundle 1 that is referenced in bundle 0, will it even allow packaging in bundle 1?

proven stone
#

it does, we use PALs for chunking too where we have shared game feature which is pretty much "Game assets" it goes into it's own chunk and then we have the campaign etc. chunks which are separate game features and it lines up properly

#

all pak files get loaded into the virtual file system during engine startup and are treated as that, one big virtual file system instead of individual pak files... so there shouldn't be any issues

spring coral
#

And if I understo correctly, you have to first package with Generate aab setting turned off and then on?

#

I want to package these fonts for install time delivery (for now, ideally it would be on demand depending on the chosen language)

#

Here are my settings (I don't know if I included everything relevant)

#

And in the final .obb that I extract, I get 2 .paks where the chunk1 one contains only the PAL asset (because IsRuntimeLabel is checked, if I left it unchecked it wouldn't even generate chunk1 pak).

spring coral
#

I reimplemented chunking in a new empty project and this time it did create a new chunk immediately (without having to mark IsRuntimeLabel), but it also included only non-font assets ...

proven stone
#

ok, so the way your asset labels is set up is kinda weird... if you want to use PALs just for chunking you want to not have runtime labels... you generally want to use Unknown cook rule so only what's referenced gets cooked etc.

#

this is how we've got ours set up

spring coral
#

wait, in the new test project I forgot to reference these fonts and now they got packaged into chunk1

#

but that still doesn't explain why it doesn't work in my main project ...

proven stone
#

I've set up chunking few years ago so I don't really remember if there's something specific I had to do

spring coral
#

Did you setup chunking for an android project? Or Windows?

proven stone
#

cross-platform

#

android, ios, ps5, xbx, windows, linux and mac

#

same setup, works everywhere

#

at least in chunking department, there are platform specific things related to always configure, but just shoving files into chunks works fine with PALs

spring coral
#

I'll backtrack throughout the project history and see where the setup starts working and try to identify the problem. Thanks for help 👍

signal plover
#

Hey everyone, has anyone ever seen this issue when packaging a game? It all runs smoothly until the end (I'm using an external zen server on linux) but right when the project is done, the last step fails - all the other packages went to the zen server smoothly.

`LogCook: Display: Finalize package store(s)...
LogZenStoreWriter: Display: Flushing...
LogZenStoreWriter: Display: Saving Zen filesystem manifest 'F:/UE56_Builds/Project_UE56/Saved/Cooked/Windows/Project/Metadata/zenfs.manifest'
LogZenHttp: Error: Error while connecting to http://192.168.1.65:8558: Failed sending data to the peer
LogOutputDevice: Warning:

Script Stack (0 frames) :

LogWindows: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Developer\IoStoreUtilities\Private\ZenStoreWriter.cpp] [Line: 723]
Failed to append OpLog and end the build pass`

Oh and all other projects build and package just fine

queen hedge
#

My package doesn’t have the .exe file when I punch it to GitHub? Has anyone had that happen. It has the file when I commit it to git desktop.

winged moss
#

?

#

and why would you be pushing exes to source control?

queen hedge
summer dock
# queen hedge Idk man, I’m still trying to figure out how a pipeline works. Any advice? I’m op...
  • Make sure you are using the .gitignore ( no Build, Intermediate, Binaries etc to repo )
  • Collaborators run on their own machines - if they have fast machines, they can also package themselves as needed - though mostly you are fine running in PIE / Standalone
  • Distribute builds as needed to a shared location, like google cloud or whatever
  • If you get to the point you are getting dedicated QA staff, you want an #automation setup of some flavor to do Nightly Builds ( or even earlier if you are inclined - there are major advantages to having an autobuilder : catch packaging issues fast with a build on every change. nightly builds ensure you always have a functioning build, and QA checks issues with speed. Deployment to target platforms becomes a matter of pressing a button instead of tinkering with command line )
queen hedge
winged moss
#

For a packaged build you just need somewhere to store it, and between friends Google Drive, OneDrive, etc is good enough

summer dock
winged moss
#

If you want to distribute it to the masses then you use a platform (like Steam) or a CDN like S3

#

The $100 entry fee might be worth it for the ease of use

summer dock
#

Itch.io is nice too, or at least used to be - haven't used it for a while

winged moss
#

But your source control should be for just your project sources, not a method of distributing built binaries

queen hedge
queen hedge
#

switched to google drive... instantly better. I feel silly for the original question now. I thought i had to do all of that through git. but it turns out that at the end of the day they are just files. I made it to complicated

plain smelt
#

I need some help but I do not have information - first time ever making a shipping build and I do not know where to look.
When I make a development build everything works fine but when I make a shipping build it crashes instantly without any logs at all.

Does anyone have any advice as to where I can look to even start figuring out what's wrong?

lethal pelican
#

How do we customize the output shipping build name? I thought it would use Project Displayed Title or something like that, but currently the exe files are named the same as the project.

winged moss
supple holly
#

I have a UE5.5 shipping build for Windows that I'm preparing for public release. Do I need to somehow code sign the EXE so that Windows doesn't distrust it? I'm not finding a lot of information on the topic in my searches. Thanks!

winged moss
supple holly
winged moss
#

Free might be hard to justify, but you can use the same cert to sign anything you release

proven stone
# supple holly Thanks. I'm realizing now it doesn't really have to do with anything in UE. It's...

signing certificates are generally expensive, although there are some providers that can provide relatively cheap certificates especially if you're open-source project although those are mostly based in EU/Europe, so if you're in US you'll have hard time getting hold of those... since modern security practices require use of hardware tokens and shipping those to US securely can be quite pricy

#

Although it's worth saying that you don't really need to sign your executables if you distribute through steam, EGS etc. as in most cases such applications don't get the smart screen popup (which is the primary case companies sign their applications - other than to generally verify their authenticity... but that's not really necessary for smaller teams)

winged moss
#

Nah we still had false AV detections even when the game was launched by Steam

supple holly
#

I'm going through UE games on itch to see how often I get Windows warnings on launch now.

#

It looks like the warnings are fairly common, so maybe not an issue for a test release

proven stone
#

indies certainly don't sign their games... that's usually domain of larger studios or teams

#

so if you're planning on shipping on itch you don't have to worry about code-signing

amber forge
#

Hi, I'm trying to package a single test level in my project to debug some stuff. I created a new launch profile with the Project Launcher tool and under the "Maps to cook" section I selected only the single test map I want to package. However after packaging, the resulting executable seems to be identical to my regular full build profile, IE, all the normal game levels are included, instead of just the single level.

Anyone know why it's not building just the single level? I tried some different settings in project launcher, like disabling 'incremental cook', changing content scheme to 'loose files' etc but got the same result every time (multiple maps being built). Is there some cache of cooked files somewhere I need to clear out, and that's why it keeps adding the additional maps?

summer dock
amber forge
# summer dock Can try deleting Intermediate and Binaries to sanity check

Thanks. I ended up just changing the game startup level to my test map in project settings, which more or less achieved what I wanted. Initially I thought it would be cleaner to cook only assets associated with the test level, but I think the quickest way to do that would be using the migration feature which felt like overkill for my purposes

full salmon
#

looking for assistance on UE5.6,
making a top down game, and all works well in PIE and in Standalone player, but when I try to package for windows I get this error:

LogCrowdFollowing: Warning: Unable to find RecastNavMesh instance while trying to create UCrowdManager instance

things I've tried:
Navmesh volume and recast are in their levels
Made sure the runtime generation is equal, in project settings and in actor placed
Supported agents are enabled
setting crowd manager class to "nothing" removes the warning but still can't package
already installed the SDK and .Net core 3.1

winged moss
full salmon
#

will this help?

winged moss
#

It'll help if it's actually attached as a text file

#

But I can see it

#

You don't have a valid Visual Studio install

full salmon
#

I just got visual studio 2022

#

stil get the same problem

winged moss
#

I said valid, you have to install the required components as well

#

You need the 14.38 toolchain installed

full salmon
#

huh, you right, forgot to check the c++ box...

winged moss
#

Also see the 2nd pin in the channel so the correct toolchain is installed

full salmon
#

MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)

full salmon
#

thank you kindly for the assistance! was able to build now

chilly snow
#
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_B requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_B
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_C requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_C
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_D requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_D
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_E requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_E
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_G requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_G
LogStreaming: Error: Couldn't find file for package /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_F requested by async loading code. NameToLoad: /Game/WORKING_INVENTORYYYYYYY/TreeCutting/SM_Tun_Nor_Bush_EuropeanSpindle_Set_01_F```


# why do I keep seeing this error?

What I've done:

Renamed/deleted a folder, I fixed redirectors, I validated assets, I deleted those static meshes
#

I even looked into the outliner, they're not there either.

#

I also deleted Saved, Intermediate and DerivedDataCache to refresh everything in memory

hybrid heart
#

Hi! Im working on loading maps from pak files and i am running into a very specific issue. The paks are mounted and the maps are loading alright. But world partition cant find its external actors in the pak. The files in question are there in the manifest (Flagrun/Plugins/GameFeatures/FeetOnTheGroundMap/Content/FeetOnTheGroundMap1/Generated/727PKPVPGEOX5D1HNWZE4XTFL.[uexp & umap]).
But it looking at the logs it seems like the game is looking for them in another folder:
(LogLevelStreaming: Display: Failed to find streaming level package file: /FeetOnTheGroundMap/FeetOnTheGroundMap1/Generated/727PKPVPGEOX5D1HNWZE4XTFL. This streaming level may not load or save properly.).
The solutions i see to the problem is either moving the external actor files to a corresponding folder or making the map refer to the correct folder. The former feels like its the easiest, but when i try to copy the files using BlueprintFileUtils it writes files on disk and not within the games file system. How would i do this correctly?

chilly snow
#

LogClass: Error: BoolProperty FFabAssetMetadata::IsQuixel is not initialized properly. Module:Fab File:Private/FabBrowserApi.h
LogAutomationTest: Error: LogClass: BoolProperty FFabAssetMetadata::IsQuixel is not initialized properly. Module:Fab File:Private/FabBrowserApi.h [log]

#

does anyone know what this is?

proven stone
#

or even easier, just ignoring the error is fine if it's not failing your builds

proven stone
#

yeah, then simply add the = false; inside the FabBrowserApi.h and it will fix it

#

as I've said it's been fixed in later releases of the fab plugin

#

but I don't think it was ported to 5.5 or something like that

#

all I know is that in 5.6 we don't see the error anymore

hard thistle
#

Hi guys, I am encountering this problem when packaging my game: "PackagingResults: Error: OodleDecode: compressed buffer starts with zero byte; invalid or corrupt compressed stream." I was able to build my game two weeks ago, but this happened out of nowhere. I've tried deleting DerivedDataCache from appdata folder and removing DDC, saved, intermediate folders in my project folder, but they weren't helping. Anyone has insights or experiences on this? Much Appreciated!

hard thistle
winged moss
#

lots of memory related warnings before it, are you sure you're not OOM?

#

packaging outside the editor can free up some memory

hard thistle
hard thistle
winged moss
#

do the thing in the top pin to get more verbose logs

#

maybe a corrupt texture?

hard thistle
#

So it is OOM somehow when it says"Garbage collection triggers ignored: Out of memory condition has been detected, but is only 1s after the last GC", a few lines above the red line

hard thistle
ember marsh
#

Hello. Unreal Engine 5.6. Has anyone had a problem with a packaged project with WP? After I walk through a certain area, move far away, and then return, one of the runtime cells never finishes loading (it's ‘stuck’ on loading). Using debugging, I can see that the cell remains in loading mode and I get the following message in the logs:
LogLevelStreaming: Warning: Couldn't find ULevel object in package '/Game/Levels/test/Generated/DU4FGH3ZXA2TTEXHTXA9I2DGN'
After checking exactly what object it is, it turns out that it is simply LandscapeStreamingProxy. The problem does not occur in the editor. I used packing with the option to pack everything with content, but it did not help. The only thing that helps is to disable streaming or remove all actors from the map and leave only static meshes. I have actors on the map that have Is Spatially Loaded set to False because I need them to be constantly available. The player is a pawn that has a WorldPartitionStreamingSource component and is the only source of streaming. I tested new levels and the same thing always happens.
Please help!

spice canopy
#

"UE 5.6.1 cook crash — EXCEPTION_ACCESS_VIOLATION"

Hello! So I've tried to understand as of why my project will not cook anymore. I did a full cook and build about 7 days ago (plus multiple ones previous weeks) without any issues at all. Yesterday I thought I'd try to cook and package a build to bring with me to test my optimization work on my work computer but I the cooking will fail at all times, with the same error pointing to a null reference. However, it does not give me any information regarding the fail at all, it does not even begin the process, it fails at 0 out of x cooked files.

I've also tried to cook on a older backups that I made a months ago but the same error happens there, even though I always have it as standard to cook and package the project before backing it up to make sure it's a fully functional build. The log output is identical each time and as I said, it does not tell what's wrong, from what I can tell.

I would more then appreciate any kind of help at all since this is years of work! 🙏

winged moss
covert plank
#

Hey, had again a failed packaging as another nu.get package has security issues and requested an update. Thistime it crashed the netire project and I can't package at all.

G:\UnrealEngine-5.6.0-release\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj : warning NU1701: The package "Microsoft.Build 17.14.28" was restored using ".NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1" instead of the project target framework "net8.0". This package may not be fully compatible with your project.

any ideas how to fix? as far as I remember does 5.6 not correctly work with Net 8.0 ?!

covert plank
#

this is beyond messed up. having the required Net SDK installed breakes all console integration. UE 5.6 is more or less useless right now

winged moss
#

since you're in control of your source build. upgrade this package. but this is a warning, so if this is blocking packaging then there's likely something else

covert plank
#

I was on the latest working nuget version which worked fine yesterday on packing. today it blocked packing so I updated. The new version is looking for Net SDK 8. Upgrading this causes all console integrations to break. So yeah there is not much moving forward

#

I now need to roll back and supress all warnings

winged moss
#

I would suggest sharing the entire log

flat mesa
#

Hi there! During cooking I see some error logging that is actually part of my gameserver gamemode code. Is cooking creating the gamemode to do some kind of optimization ? the code is c++ only and concerns static functions that are used for callbacks, the function that logs is part of a plugin. How can gamecode functions be called during cooking ? any insight is very appreciated

winged moss
#

But things like the constructor will be called for constructing the CDO

native jewel
#

I'm not sure if this is the right place or not. (I understand ue5-main isn't the best to use, but it's been consistent across multiple pulls, so I feel like it's more than just a "oh shoot, it's broken" thing)

Cooking and packaging my game works fine, but as soon as I go to open it (both Shipping and DebugGame), it fails to read the shadermap.

Fatal error: [File:Z:\UEVFS\Root\Engine\Source\Runtime\RenderCore\Private\GlobalShader.cpp] [Line: 812] 
Could not load section 0 (of 435) of the global shadermap.

Nitrocore_Win64_DebugGame!FGlobalShaderMap::LoadFromGlobalArchive() [Z:\UEVFS\Root\Engine\Source\Runtime\RenderCore\Private\GlobalShader.cpp:803]
Nitrocore_Win64_DebugGame!TryLoadCookedGlobalShaderMap() [Z:\UEVFS\Root\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5380]
Nitrocore_Win64_DebugGame!CompileGlobalShaderMap() [Z:\UEVFS\Root\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:5554]
Nitrocore_Win64_DebugGame!FEngineLoop::PreInitPreStartupScreen() [Z:\UEVFS\Root\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:3277]
Nitrocore_Win64_DebugGame!GuardedMain() [Z:\UEVFS\Root\Engine\Source\Runtime\Launch\Private\Launch.cpp:146]
Nitrocore_Win64_DebugGame!GuardedMainWrapper() [Z:\UEVFS\Root\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:123]
Nitrocore_Win64_DebugGame!LaunchWindowsStartup() [Z:\UEVFS\Root\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:277]
Nitrocore_Win64_DebugGame!WinMain() [Z:\UEVFS\Root\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:335]
Nitrocore_Win64_DebugGame!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

The cook works fine, and when checking the packaged files, all of the shader files are present and are able to be parsed.

flat mesa
#

It also seems that code changes in the constructor/deconstructor require a full clean and rebuild (clean intermediate files etc), I assume this is also related to CDO ?

flat mesa
#

could CDO be calling any other functions than constructor/deconstructor ? for example static functions that are used for callbacks ?

winged moss
#

well you still haven't shared any additional information

#

"static function used for callbacks" as in delegates? where are they bound, and since it's static, instantiation would be irrelevant

#

and you can attach to the cooker if you want to add a breakpoint

flat mesa
#

thanks for your respone, it had nothing to do with the callbacks, there was some cleanup code in gamemode's deconstructor, for an object that was initialized in InitGame(). As the cooker calls the constructor and deconstructor this object was not initialised and the cleanup code logged an error. I solved it with an initialize flag that is set in InitGame() so the cleanup code is only executed if InitGame() has been called, not by the cooking process..

buoyant bluff
#
LogShaderCompilers: Display: Job FClusteredShadingPS(permutation 64, format PCD3D_SM5) compile time exceeded threshold (34.366s)
UATHelper: Packaging (Windows): LogShaderCompilers: Display: Job FClusteredShadingPS(permutation 80, format PCD3D_SM5) compile time exceeded threshold (38.995s)
UATHelper: Packaging (Windows): LogShaderCompilers: Display: Job FClusteredShadingPS(permutation 32, format PCD3D_SM5) compile time exceeded threshold (142.620s)
UATHelper: Packaging (Windows): LogShaderCompilers: Display: Job FClusteredShadingPS(permutation 48, format PCD3D_SM5) compile time exceeded threshold (147.267s)

These shaders are taking time?

grand dust
#

got this error while packaging for windows

#

LogTurnkeySupport: Warning: Turnkey failed to run properly, full Turnkey output:
Running AutomationTool...
Using bundled DotNet SDK version: 8.0.300 win-x64
Starting AutomationTool...
Parsing command line: -ScriptsForProject="D:/unreal projects/FPSTemplate_5_6/FPSTemplate.uproject" Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename="D:/unreal projects/FPSTemplate_5_6/Intermediate/TurnkeyReport_3.log" -log="D:/unreal projects/FPSTemplate_5_6/Intermediate/TurnkeyLog_3.log" -project="D:/unreal projects/FPSTemplate_5_6/FPSTemplate.uproject" -Device=Win64@DESKTOP-VGAOF51
Initializing script modules...
Building 29 projects...
Build 29 projects time: 3.76 s
AutomationTool encountered an error before a log file was set, see 'D:\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\ErrorLog.txt' for more details
AutomationTool executed for 0h 0m 5s
AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED

winged moss
hybrid heart
# hybrid heart Hi! Im working on loading maps from pak files and i am running into a very speci...

An update on my issue and how i managed to solve it, maybe itll help someone in the future. I solved it by appending ”Content/” to my content path when mounting the PAK. This makes it so that /FeetOnTheGroundMap/Content/FeetOnTheGroundMap1/Generated/... becomes /FeetOnTheGroundMap/FeetOnTheGroundMap1/Generated/... in the file system which allows the levelstreaming system to find the packages.

silver cedar
#

Me too facing issue both in binary and source versions

grand dust
silver cedar
#

Magick to 14.8.1 ?

#

If so both done and still problem persists

summer dock
#

that's not the problem though.

[2025.11.04-19.24.43:210][  0]LogTurnkeySupport: Warning: Turnkey failed to run properly, full Turnkey output:```
#

So, I would check your engine version and setup documentation to make sure you have jumped through all the hoops

silver cedar
#

Thank you Karma. I will try with 14.9

silver cedar
silver cedar
amber vigil
#

can anyone tell me how I can enable iterative or incremental cooking so the engine doesn't full cook everytime?

silver cedar
#

Updated Magick to 14.9 but this happens in source based editor also happening crash. How can I fix this ?

winged moss
bleak rock
#

Hello, I'm getting inconsistent packaging results after changes. Usually when do regular dev things, packaging from cmd works fine. However, sometimes it decides to fail pretending that I haven't compiled something.

The last thing I've done is created ParseLaunchOption in MESS_KismetUtils that I use in GM_Game. When running packaging through cmd specifically it fails with following errors

LogBlueprint: Error: [AssetLog] H:\UE\UE_5.5_Source\Projects\MESS\Content\GameModes\GM_Game.uasset: [Compiler] In use pin  Return Value  no longer exists on node  Parse Launch Option . Please refresh node or break links to remove pin. from Source: /Game/GameModes/GM_Game.GM_Game
LogBlueprint: Error: [AssetLog] H:\UE\UE_5.5_Source\Projects\MESS\Content\GameModes\GM_Game.uasset: [Compiler] Could not find a function named "ParseLaunchOption" in 'MESS_KismetUtils'.
Make sure 'MESS_KismetUtils' has been compiled for  Parse Launch Option from Source: /Game/GameModes/GM_Game.GM_Game

If I try to package from project launcher, it packages fine, but it's inconvenient to package from the editor for various reasons. Usually it gets fixed by recompiling my solution from UE5.sln, e.g. from VS specifically, but I use rider for the majority of the time.

It already happened multiple times, but I usually try to ignore that by packaging from project launcher trying to focus on what I'm working on rather than switch fixing this, but it's too annoying to ignore/work around at this point.

One thing to mention though -- anytime I compile my solution from VS, it pretty much compiles/links like 300~ files. If I try to recompile in Rider immediately after, it seems to compile/links same 300~ files. I use Development Editor configuration in VS, and Rider is using DebugGame Editor. I don't see how it affects each other.

Compiling from Rider also causes some issues with Redpoint EOS Config module that prevents me from starting cooking only after some time after I compile with Rider. So, I compile with UE5.sln, try to cook + package the game, everything goes fine, I compile from Rider, do some regular dev stuff, and it still works fine, but eventually, like after half a day or the next day it fails again.

I can't see any pattern, it's so random. Initially I assumed it might be related to unity builds; maybe some files VS compiles the right way get put in the same module (or whatever the thing is called unity build unifies object files in), but then eventually one of the files from that module get recompiled forcing those files to get recompiled from Rider, breaking what VS somehow fixes. However, switching to unity builds didn't change anything, it's as consistent as it was.

I tried recompiling from VS and Rider multiple times subsequently to get a minimal example of what it's doing when I compile with no changes. E.g. I compile in VS to fix the issue, compile in Rider, and compile again in VS.

https://gist.github.com/Tonetfal/1ce4d07061f46252cb12cf28d2cea99d

Does anyone know why it might be happening?

winged moss
#

the cooker uses the Development Editor binaries

bleak rock
#

I see, but why does it fail to build Development Editor binaries when running through cmd? I do have -compile option, so it should compile what it's missing

#

That's my packaging command

call %UAT_PATH%/RunUAT.bat ^
BuildCookRun -build -project=%UPROJECT% -cook -stage -package -compile -nocompileeditor ^
-targetplatform=%PLATFORM% -target=%TARGET% ^
-server -serverconfig=%SERVER_CONFIG% ^
-unversionedcookedcontent -skipeditorcontent -iterativecooking ^
-map=%MAPS% ^
-distribution ^
-archive -archivedirectory=%OUTPUT_DIR% ^
-zenstore -compressed -pak ^
-utf8output -nop4 -CrashReporter
winged moss
#

-nocompileeditor is there for one

bleak rock
#

Oh, I thought it's related to some editor content. My bad

#

Hopefully that fixes it, thank you 🙏

amber vigil
#

Even if I don't make any changed it runs a full cook, and im not sure where I can use these commands..

UATHelper: Packaging (Windows): LogCook: Display: FULL COOK: Neither -legacyiterative nor -cookincremental were specified. Deleting previously cooked packages for platform Windows and recooking all packages discovered in the current cook.

proven stone
#

also worth noting is that legacyiterative is a deprecated thing (hence legacy in it's name) and cookincremental is currently experimental in UE 5.6 so you might get some issues while using those

#

seems like you can enable the legacyitterative through Project Settings -> Engine -> Cooker from UI and it will be used whne playing from editor and through Platforms -> Cook menu (as the options suggest)

#

but if you state a more specific goal you're trying to achive we might be able to help further

amber vigil
amber vigil
#

I was on UE5.4 working fine and it would only cook the specific changes, when i migrated the project to 5.6 it always does full

amber vigil
proven stone
#

we use following command for local testing:

pushd "%~dp0..\..\.."
call .\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -p4 -project=./OurGameNameHere/OurGameNameHere.uproject -cook -stage -archive -archivedirectory=./OurGameNameHere/PackagedDev -package -compressed -pak -prereqs -targetplatform=Win64 -build -target=OurGameTarget -clientconfig=Development -utf8output -compile
pause

this file is placed in OurGameNameHere/Build/BatchFiles/RunLocakPackage.bat you'll have to tweak things like removing -p4 if you're not using perforce etc.. and also you'd specify the -iterativecooking etc.

#

you might have to tweak other things depending on if you're using engine from epic games store or locally cloned from git/perforce etc.

#

also you mnight have to put following thing into your project's DefaultEditor.ini for iterative cooking to work:

[CookSettings]
+IncrementalClassScriptPackageAllowList=Allow,<ProjectRoot>

(just copy and paste)

#

and while you're at it you could put:

[CookSettings]
CookIncremental=true

into the same file which would mean things would use incremental cooking by default but all of this depends on your workflow and needs

bleak rock
# winged moss -nocompileeditor is there for one

Now anytime I package from cmd, I will need to recompile those 300 files anytime I want to launch the editor from debug game. I don't get why since it's compiling same DebugGame (SERVER_CONFIG is DebugGame)

winged moss
#

yeah I'm not sure what your engine setup is like but they're different targets, so it shouldn't make a difference, but different targets, build configurations, types, etc, are all independent of each other

#

you should only get recompilation if you passed -clean

bleak rock
#

Yeah, that's what I would expect 😔

soft knot
#

@silver cedar did you manage to get it working?

amber vigil
#

I just don't understand what's the need for all this when it was perfectly doing that on its own in older versions

#

I know this is convenient in a lot of cases but for someone who just wants to package in editor without long cook times why not have a way to enable that in engine, or by default

silver cedar
# soft knot Same here

Still Mysterious piece of art. I wonder now why Mega game jam submission time extended

soft knot
#

Incredible

blazing parrot
#

anyone know how to fix the metahuman thing here?

#

I tried deleting the metahuman plugin, turning it off and on , deleting the intermedaite from the engine to rebuild, alas nothing works

lusty nexus
#

I'm trying to figure why this happens:

When I package my game that has 68 levels , the file size is around 10gb
When I package a demo of the game, that has only 4 levels, the size is 3.6gb. I was expecting a way smaller file for the demo, I'm sure I missed something, does anyone know why is it like this?

winged moss
#

you should audit what is going into the build

lusty nexus
#

I see, when I click audit on an asset is showing me the disk size, but how would I make sure that it only packages the assets in those 4 levels ?

winged moss
#

what's included in the cook is based on what is actually referenced by those levels

cobalt pasture
#

I'm having an issue with a global shader from the FSR 4 plugin not being cooked, has anyone had this issue before? (please ping if answering!)

#

specifically the FFXFIAdditionalUICS shader

#
Fatal error: [File:C:\...\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 4572] 
Missing global shader FFXFIAdditionalUICS's permutation 0, Please make sure cooking was successful.
cobalt pasture
#

I figured it out! The plugin had the EngineVersion field specified to 5.5.0, and we're on 5.5.1. The editor loaded fine because we can click on load anyways, but the cook process didn't load the plugin

#

Removing the field (which I wanted to do anyways) fixed the issue

hybrid hare
#

can you even package in 5.6 or 5.5

#

it only works in 5.4 for me,

#

they just say "failed to launch" in any project in 5.5 or 5.6

winged moss
#

because of course you can

edgy hill
#

I'm unable to package using the launcher version of 5.7 and I'm curious if anyone else is running into this issue. The 'package project' option is disabled.

#

I've tried:

  • Upgrading an existing 5.6 project that could build
  • Starting with a fresh 5.7 project using the Blank project default and the nDisplay project default
  • Verifying engine files
  • Restarting my computer
  • Uninstalling and reinstalling the engine
  • All platforms are checked under Project Settings > Supported Platforms
winged moss
#

(based on what I've seen previously)

#

failing that, try from UnrealFrontend or packaging via the command line. packaging via the editor is fairly wasteful resources wise

edgy hill
winged moss
#

notice the circle isn't filled in white for "Windows"

#

what happens if you click the "Windows" part

edgy hill
#

OMG

#

I feel so dumb

#

but also very grateful. Thank you

valid mortar
#

Did someone try out substrate with the 5.7 version? Does it reduce performance?

winged moss
# frigid adder how/why?

BuildCookRun should give you enough in Google. When you cook via the editor, it actually launches a second headless version of the editor and that's what does the cooking. So you're paying the cost to keep the editor idle during what's already a processor/memory intensive task

frigid adder
#

Crazy!

#

Thank you! Mister sswires.

waxen aspen
#

Is VS 2026 the new norm for packaging with UE 5.7 ??

#

Packaging is showing errors almost right after that warning for me. Was packaging well in 5.6 and before.


UATHelper: Error: Packaging (Windows): Module.GeometryAlgorithms.2.cpp.obj : error LNK2001: unresolved external symbol __std_mismatch_4

UATHelper: Error: Packaging (Windows): Module.GeometryAlgorithms.2.cpp.obj : error LNK2019: unresolved external symbol __std_minmax_element_d referenced in function "struct std::pair<double *,double *> __cdecl std::_Minmax_element_vectorized<double>(double * const,double * const)" (??$_Minmax_element_vectorized@N@std@@YA?AU?$pair@PEANPEAN@0@QEAN0@Z)

UATHelper: Error: Packaging (Windows): reverb_onset_compensator.cc.obj : error LNK2019: unresolved external symbol __std_minmax_element_f referenced in function "struct std::pair<float *,float *> __cdecl std::_Minmax_element_vectorized<float>(float * const,float * const)" (??$_Minmax_element_vectorized@M@std@@YA?AU?$pair@PEAMPEAM@0@QEAM0@Z)

UATHelper: Error: Packaging (Windows): reverb_node.cc.obj : error LNK2019: unresolved external symbol __std_max_element_f referenced in function "float * __cdecl std::_Max_element_vectorized<float>(float * const,float * const)" (??$_Max_element_vectorized@M@std@@YAPEAMQEAM0@Z)

UATHelper: Error: Packaging (Windows): C:\GameDev\UE\FAB\Menu\OGMainMenuSystem5.7\Binaries\Win64\OGMainMenu-Win64-Shipping.exe : fatal error LNK1120: 4 unresolved externals```
waxen aspen
#

Updated my VS 2022 to the latest version and it still does the same. The project is a bp only project. VS 2026 and VS 2019 also failed to package, but they did not state which errors stopped them from doing so

winged moss
waxen aspen
pearl mason
finite pebble
#

Hi, just Switched to another PC but i cant build anymore :/ ? any ideas ?

flint skiff
finite pebble
#

now its getting 10 seconds further but still another error -.-

#

Ideas 😛 ?

#

ew. Engine Version: 1012 Package Version: 1013 hm alot oof these

#

was not there before

#

could i be on the wrong UE version :/ ?

#

hm that cant be it im 100% it was on a 5.4 UE and thers only 1 available

finite pebble