In the manual (Unity - Manual: Command-line arguments) it says that the active build target can be set before the project is loaded but it doesn’t say what the valid options are.
Does anyone know?
In the manual (Unity - Manual: Command-line arguments) it says that the active build target can be set before the project is loaded but it doesn’t say what the valid options are.
Does anyone know?
Correct, this is missing from the documentation; will have it added soon. Here are the available options:
win32
win64
osx
osxintel64
osxuniversal
linux
linux64
linuxuniversal
ios
android
web
webstreamed
webgl
xbox360
xboxone
ps3
ps4
psp2
psm
wsa
wp8
bb10
tizen
samsungtv
Let me know if you need more information.
Best regards, Rasmus
Exactly what I was looking for, thanks!
Of the standalone platforms, these do not work:
osxintel64
osxuniversal
linuxuniversal
Each returns the error
Fatal error! Build target platform ‘xxxxxxxxx’ is not a supported build target
This information is also listed in the docs here, but it is wrong.
Where can I find an accurate list of these command line arguments?
The information has now been updated in the docs and should be available online in a few days.
Thanks andeeeee!
ps vita is not supported with Unity 5 ?
Build target platform 'psp2' is not a supported build target.
looks like this list is no longer valid for 5.3.0f2.
“Fatal error! Build target platform ‘win32’ is not a supported build target.”
Yeah I am looking for the correct windows value too
I’m assuming this was a knock-on of this change mentioned in their release notes:
Editor: Launch unity through command line with the –buildTarget switch and the scripting defines will not be set properly.
I’ve tried every sensible guess I can think of. Can someone at unity post this information for us?
Hi, this is a known problem in 5.3. It’s a mistake and we’re fixing it right now. You can expect a patch release soon that addresses this.
Thanks duck
I will keep an eye out for the first patch release.
Thank you for the reply.