UnrealEngineHTML5 / Documentation

532 stars 183 forks source link

HTML5 packaging error #52

Closed Rohan-Deshamudre closed 3 years ago

Rohan-Deshamudre commented 3 years ago

I am trying to package a default unreal project to HTML5 on version 4.24.3 and got these errors.

UATHelper: Packaging (HTML5):     shared:ERROR: C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc: No such file or directory ("C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc" was expected to be an input file, based on the commandline argumen
ts provided)
PackagingResults: Error: C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc: No such file or directory ("C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc" was expected to be an input file, based on the commandline arguments provided)
UATHelper: Packaging (HTML5): Took 4.2316298s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (HTML5): UnrealBuildTool failed. See log for more details. (C:\ue4-r424-html5\Engine\Programs\AutomationTool\Saved\Logs\UBT-UE4Game-HTML5-Development.txt)
UATHelper: Packaging (HTML5): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (HTML5): BUILD FAILED
PackagingResults: Error: Unknown Error

The LowLevel_O2.bc file does not exist but I dont know why. There are also some warnings higher up in the log:

UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update refere
nce to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update referenc
e to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Common_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update re
ference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Extensions_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please updat
e reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SimulationController_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please u
pdate reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxPvdSDK_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update refere
nce to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\LowLevel_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be full
y qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be fully 
qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Common_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be 
fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Extensions_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to
 be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\SimulationController_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update referenc
e to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PxPvdSDK_O2.bc' was not resolvable to a file when used in Module 'PhysX', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update reference to be full
y qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   WARNING: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Cooking_O2.bc' was not resolvable to a file when used in Module 'PhysXCookingLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Pleas
e update reference to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
PackagingResults: Warning: Library 'C:\ue4-r424-html5\Engine\Platforms\HTML5\Source\ThirdParty\PhysX3\PhysX_3.4\lib-1.39.0-fc-mt\PhysX3Cooking_O2.bc' was not resolvable to a file when used in Module 'PhysXCookingLib', assuming it is a filename and will search library paths for it. This is slow and dependency checking will not work for it. Please update refer
ence to be fully qualified alternatively use PublicSystemLibraryPaths if you do intended to use this slow path to suppress this warning.
UATHelper: Packaging (HTML5):   h5conf HTML5ToolChain: EnableMultithreading = True

I need help to solve these errors asap so that the build completes.

Rohan-Deshamudre commented 3 years ago

I saw a suggestion here to re-run ./HTML5Setup.sh and I did that but the problem still persists.

nickshinpho commented 3 years ago

fixed emscripten's latest nodejs version and a bug in a patch file (thanks @cantrem404!)