I am attempting to create a Halloween style game for a competition I am entering, however once I have packaged it and the Windows No Editor folder is created, I double click on the exe program to open it. The blue, circular loading symbol appears for a few seconds before disappearing and doing nothing. I have noticed that the executable file is only 183KB large. For a 3 level game I expected it to be bigger.
Here is what my packaging settings are:
(I have also tried setting the "Use Pak File" to false which just makes a blank window)
The warnings I get when I am packaging are: LogLinker: Warning: Failed to load Game/2DSideScrollerBP/2DSideScrollerOverview': Can't find file. (I shouldn't be using this file as it is a 3D game that I am making)
LogLinker: Warning: Failed to load '/Game/2DSideScrollerBP/2DSideScrollerOverview': Can't find file.
LogUObjectGlobals: Warning: Failed to find object 'Class /Game/2DSideScrollerBP/2DSideScrollerOverview.2DSideScrollerOverview_C' UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
UATHelper: Packaging (Windows (64-bit)): LogReflectionCaptureComponent: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/LakeWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook.
PackagingResults: Warning: /Game/WaterPlane/Maps/OceanWater_Example contains a legacy UReflectionCaptureComponent and is being non-deterministically cooked - please resave the asset and recook. I have tried saving the asset and repackaging but this message still appears. I don't know if this changes anything though. Is it possible that it may have something to do with the settings I am using?
It doesn't sound as though any of your assets were cooked or packaged. First thing I would recommend is to check Epic's Unreal packaging documentation and ensure that you've followed the steps. Then, when packaging, watch your log and ensure that it's not throwing warnings or errors as it tries to package the project.
Related
When I click to create a launch.json file I get this in the terminal.
This is normal ? or is something bad happening?
Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.6 / x64)' (38449 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Windows (.NET 4.6 / x64)'
Downloading package '.NET Core Debugger (Windows / x64)' (45337 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package '.NET Core Debugger (Windows / x64)'
Downloading package 'Razor Language Server (Windows / x64)' (62313 KB)..........
I'm already waiting 45 min
It was a matter of waiting and the debugging panel would open
I have created a minimal Unreal project using the starter content. I have generated signing certificates, and successfully packaged and run the project on the Hololens 2 emulator.
However, when I try to package the same project for my device, I get a the following failure:
UATHelper: Packaging (HoloLens): Using ARM64 architecture for deploying to HoloLens device
UATHelper: Packaging (HoloLens): ERROR: No required compiler toolchain found in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110
PackagingResults: Error: No required compiler toolchain found in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110
UATHelper: Packaging (HoloLens): Took 1.0359999s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (HoloLens): UnrealBuildTool failed. See log for more details. (C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\UBT-HololensTrial-HoloLens-Development.txt)
UATHelper: Packaging (HoloLens): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (HoloLens): BUILD FAILED
PackagingResults: Error: Unknown Error
How can I not have the required compiler toolchain on the device, but it succeeds in the emulator? What steps do I take to get around this?
I am receiving some type of packaging error when attempting to package my project. It occurs when compiling one of the ThirdParty plugins within the engine. I did not modify any engine files so I am not sure why I am getting this error. Any help would be appreciated.
UATHelper: Packaging (Windows (64-bit)): Target Platform -- Win64
UATHelper: Packaging (Windows (64-bit)): Writing manifest to C:\Source\depot\UnrealEngine-4.23\Engine\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows (64-bit)): Using Visual Studio 2019 14.24.28314 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows (64-bit)): Building 3 actions with 12 processes...
UATHelper: Packaging (Windows (64-bit)): [1/3] Module.MeshSolverUtilities.cpp
UATHelper: Packaging (Windows (64-bit)): C:\Source\depot\UnrealEngine-4.23\Engine\Source\ThirdParty\Eigen\Eigen\src/Core/util/Memory.h(73): error C4834: discarding return value of function with 'nodiscard' attribute
UATHelper: Packaging (Windows (64-bit)): Took 8.1117657s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool failed. See log for more details. (C:\Source\depot\UnrealEngine-4.23\Engine\Programs\AutomationTool\Saved\Logs\UBT-CastleFight-Win64-Development.txt)
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
Try to rebuild Programs>AutomationTool or entire solution
I have installed libpng via MacPorts. Check.
I have install Imager via cpan install. During the install it fails to find the path to my libpng which I installed via MacPorts without any issues.
This is the contents of /usr/local/lib:
libpng.3.dylib*
libpng.3.dylib.dSYM/
libpng12.0.dylib*
libpng12.0.dylib.dSYM/
libpng12.a
libpng12.la*
libpng14.14.dylib*
libpng14.14.dylib.dSYM/
libpng14.a
libpng14.la*
libpng15.15.dylib*
libpng15.15.dylib.dSYM/
libpng15.a
libpng15.la*
What have I missed?
UPDATE
- I am install on MacBook running Maverick (10.9.3)
- Prior to Maverick installation my code worked fine
Here is a blow by blow of my cpan install effort
cpan[1]> force install Imager::File::PNG
Reading '/Users/turner/.cpan/Metadata'
Database was generated on Tue, 24 Jun 2014 13:17:02 GMT
Running install for module 'Imager::File::PNG'
Checksum for /Users/turner/.cpan/sources/authors/id/T/TO/TONYC/Imager-File-PNG-0.89.tar.gz ok
Scanning cache /Users/turner/.cpan/build for sizes
............................................................................DONE
Configuring T/TO/TONYC/Imager-File-PNG-0.89.tar.gz with Makefile.PL
PNG: building independently
PNG: Found via pkg-config libpng
PNG: Test code failed: Can't link/include 'png15'
PNG: v1.6: includes found - libraries found
PNG: Test code failed: Can't link/include 'png16'
PNG: v1.5: includes found - libraries found
PNG: Test code failed: Can't link/include 'png15'
PNG: v1.4: includes found - libraries found
PNG: Test code failed: Can't link/include 'png14'
PNG: v1.2: includes found - libraries found
PNG: Test code failed: Can't link/include 'png12'
PNG: v1.0: includes not found - libraries not found
PNG: base (+libz): includes found - libraries found
PNG: Test code failed: Can't link/include 'png', 'z'
PNG: v1.6 (+libz): includes found - libraries found
PNG: Test code failed: Can't link/include 'png16', 'z'
PNG: v1.5 (+libz): includes found - libraries found
PNG: Test code failed: Can't link/include 'png15', 'z'
PNG: v1.4 (+libz): includes found - libraries found
PNG: Test code failed: Can't link/include 'png14', 'z'
PNG: v1.2 (+libz): includes found - libraries found
PNG: Test code failed: Can't link/include 'png12', 'z'
PNG: v1.0 (+libz): includes not found - libraries not found
PNG: Checking if the compiler can find them on its own
Warning (mostly harmless): No library found for -lpng
PNG: Test code failed: Can't link/include 'png.h', 'stdio.h', 'png'
OS unsupported: PNG libraries or headers not found
Warning: No success on command[/usr/bin/perl Makefile.PL]
TONYC/Imager-File-PNG-0.89.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Failed during this command:
TONYC/Imager-File-PNG-0.89.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL' returned status 512
I am attempting to install cocos3d and during the installation I must locate all the files from when I installed cocos2d. I could not for the life of me find where these were so I just re downloaded it and re installed it and used those files when attempting to instal cocos3d, however it spit all these errors back at me
cocos3d installer
Copying cocos2d libraries to workspace
...copying cocos2d files
...copying cocos2d dependency files
rsync: link_stat "/Users/Torgerson/cocos2d/external/FontLabel" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying CocosDenshion files
rsync: link_stat "/Users/Torgerson/cocos2d/CocosDenshion/CocosDenshion" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocoslive files
rsync: link_stat "/Users/Torgerson/cocos2d/cocoslive" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocoslive dependency files
rsync: link_stat "/Users/Torgerson/cocos2d/external/TouchJSON" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
done!
Installing Xcode 4 cocos3d iOS template
----------------------------------------------------
...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate
...copying cocos3d Application template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d Application.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d Application.xctemplate/Resources
rsync: link_stat "/Users/Torgerson/Demos/Common/Resources/hello-world.pod" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-base.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-base.xctemplate
...copying cocos3d-base template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d-base.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...removing old template: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-lib.xctemplate
...creating destination directory: /Users/Torgerson/Library/Developer/Xcode/Templates/cocos3d/cocos3d-lib.xctemplate
...copying cocos3d-lib template files
rsync: link_stat "/Users/Torgerson/Templates/Xcode4/cocos3d-lib.xctemplate/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
...copying cocos3d files to cocos3d-lib template
rsync: link_stat "/Users/Torgerson/cocos3d" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
done!
And as of now I can not create a new cocos3d project, it all ran but I have no cocos3d template in xcode ?? any help :) thanks
The script apparently tries to copy the files from
/Users/Torgerson/cocos2d
and
/Users/Torgerson/cocos3d
Moving cocos2d and cocos3d to these directories should fix it.
It is due to problem in installation. Follow the correct installation steps. I also suffered the same problem. So just go through the steps in the following link,
http://www.techipost.com/2011/02/20/installing-cocos3d-for-iphoneipad/
You can check, whether u have installed cocos3d templates or not, using terminal window.