- Home /
Can't build via Command Line?
I'm running the following command line to generate a windows standalone build:
Unity.exe -nographics -batchmode -buildTarget win64 -buildWindowsPlayer SpaceTyrant.exe -projectPath C:\games\doast\main\ -quit
Which appears to execute successfully... but then when you go into the Data folder you find a data.unity3D file, instead of the expected list of sharedassetsX.asset files. Its my understanding that a data.unity3D file is for WebGL builds. Unsurprisingly, the windows executable then fails to run because the data files its looking for don't exist.
How is it possible that my windows build command line is generating a WebGL data.unity3D file??
What do I change in my command line to force it to generate windows standalone sharedassests files?