- Home /
How -assetServerUpdate works?
Hi everyone,
I am trying to create an automated build script but when I use the -assetServerUpdate command argument it does not update the assets from the server like I would expect it to do.
I thought it could be the asset server connection but if I use user interface to do the update it will update properly.
Here's the command line I call with the Perl script: /Applications/Unity iPhone/Unity iPhone.app/Contents/MacOS/Unity" -batchmode -createProject ../build/temp -projectPath ../build/temp -assetServerUpdate 172.16.1.51 MyProject MyUser MyPass -quit
After the script is called, I have an empty project but no asset were updated.
My goal is to create a complete build from a an empty project I create using the -createProject command.
I looked on the forum and on the documentation and I found nothing related to this issue.
Unity does not crash and it does not log anything related. If I remove the -quit, there is nothing in Unity's log as well.
There is probably something I do wrong, so how does -assetServerUpdate work?
This would be very appreciated.
Thanks in advance.
Answer by jonas-echterhoff · Sep 13, 2010 at 12:43 PM
Try just using -createProject, not both -createProject and -projectPath.
Your answer
![](https://koobas.hobune.stream/wayback/20220613073113im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Running Unity Pro features and connecting to asset server without a Pro license 1 Answer
Is there an assets subfolder that the Unity compiler will ignore? (Asset Server Related)) 6 Answers
Reliably detect if a command line asset server update succeeded 1 Answer
Using Linux And Wine To Build Unity Games For Windows And OS X? 2 Answers
How can I make prefabs that don't break when models change? 1 Answer