x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Building for HTML5 from command line uses the last packaged build from the editor.

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.

Product Version: UE 4.12
Tags:
more ▼

asked Dec 07 '16 at 10:35 PM in Packaging & Deployment

avatar image

RetroZelda
26 1 2 3

avatar image nick.shin STAFF Dec 08 '16 at 03:09 AM

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"

avatar image RetroZelda Dec 08 '16 at 05:42 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

setting "-ScriptsForProject" ended up working for me. Thank you

more ▼

answered Dec 12 '16 at 07:07 PM

avatar image

RetroZelda
26 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question