RetroZelda
(RetroZelda)
December 7, 2016, 10:35pm
1
I am able to build and package my project to HTML5 from inside the editor with no problem. When I build using the command line, everything succeed, but when I run the project in firefox(via pushing to the server, or from the launch helper), it will always be the build last made when packaging via the editor.
the command I run is:
../Engine/Build/BatchFiles/RunUAT BuildCookRun -project="C:\PATH\TO\PROJECT\Project.uproject" -noP4 -platform=HTML5 -clientconfig=Development -serverconfig=Development -cook -allmaps -Build -stage -pak -archive -archivedirectory="C:\Output"
Ive tried running the command with “-platform” set to “Win64” and it works as expected. Any help is appreciated.
i don’t remember what 4.12 does – but, if you run UnrealFrontend.exe and run the “build, cook and copy(or run)” – is the “output” parameter different?
for example, i currently see:
-stagingdirectory=“c:/output”
and not:
-archivedirectory=“c:\output”
RetroZelda
(RetroZelda)
December 8, 2016, 5:42pm
3
Nope, it is setting"-archivedirectory". I ran a build last night setting the staging directory with no luck.
I did notice that UnrealFrontend sets “-ScriptsForProject” and so I have a build running now seeing if setting that will change anything
RetroZelda
(RetroZelda)
December 12, 2016, 7:07pm
4
setting “-ScriptsForProject” ended up working for me. Thank you