Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Unreal engine - 4.26 - packing.

A topic by Kembry created Apr 04, 2021 Views: 774 Replies: 4
Viewing posts 1 to 3

Hey there folks!

I`m so happy to have a chance to join this jam.

I spent many hours on my Courage game and I`m so hyped to publish it. 

But happiness isn't forever! Last few hours I have been dealing with some weird unreal engine upgrade error.  Maybe someone of you have had the same issue and could help me out. 


I tried to copy 'DefaultBuildSettings = BuildSettingsVersion.V2;' in MyProject8.Target.cs, and explicitly overriding settings that differ from the new defaults. But still, no change and the code dissapeared. 

If there is anyone who would be willing to help I would really appreciate it.


Thank you!

Here is the error:

UATHelper: Packaging (Windows (64-bit)):   Building MyProject8...

UATHelper: Packaging (Windows (64-bit)):   Using Visual Studio 2019 14.28.29913 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910) and Windows 10.0.19041.0 SDK (C:\Program Files (x86)\Windows Kits\10).

UATHelper: Packaging (Windows (64-bit)):   [Upgrade]

UATHelper: Packaging (Windows (64-bit)):   [Upgrade] Using backward-compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:

UATHelper: Packaging (Windows (64-bit)):   [Upgrade]     bLegacyPublicIncludePaths = false                 => Omits subfolders from public include paths to reduce compiler command line length. (Previously: true).

UATHelper: Packaging (Windows (64-bit)):   [Upgrade]     ShadowVariableWarningLevel = WarningLevel.Error   => Treats shadowed variable warnings as errors. (Previously: WarningLevel.Warning).

UATHelper: Packaging (Windows (64-bit)):   [Upgrade]     PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs   => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html. (Previously: PCHUsageMode.UseSharedPCHs).

UATHelper: Packaging (Windows (64-bit)):   [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.V2;' in MyProject8.Target.cs, and explicitly overriding settings that differ from the new defaults.

UATHelper: Packaging (Windows (64-bit)):   [Upgrade]

UATHelper: Packaging (Windows (64-bit)):   Building 4 actions with 8 processes...

UATHelper: Packaging (Windows (64-bit)):     [1/4] SharedPCH.Core.cpp

UATHelper: Packaging (Windows (64-bit)):     c1xx: fatal error C1083: Cannot open compiler intermediate file: 'C:\Users\P��teris\Documents\Unreal Projects\MyProject8 - kopija\Intermediate\Build\Win64\MyProject8\Shipping\Core\SharedPCH.Core.h.pch': No such file or directory

UATHelper: Packaging (Windows (64-bit)): Took 3,0382693s to run UnrealBuildTool.exe, ExitCode=6

UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Users\Pēteris\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_4.26\UBT-MyProject8-Win64-Shipping.txt)

UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=6 (6)

UATHelper: Packaging (Windows (64-bit)): BUILD FAILED

Submitted

it seems some files are missing. But I don't' really know much about unreal as I rarely use it.

I think the issue comes fro the newest version, because I also opened template files and they show the same issue. P.s thanks for the help.

Submitted

I use Unity (Though I have used other engines before), but it looks like maybe you should just hop back into the old version of Unreal if you can. I recommend never upgrading the project to a new engine build during a Game Jam.

Maybe I should try Unity too. :) I tried to make the project on the older versions, but UE older versions mxied with Cinema 4d are pain in the ass. :D