Unity Build Tool: Difference between revisions
Levidsmith (talk | contribs) No edit summary |
Levidsmith (talk | contribs) |
||
Line 10: | Line 10: | ||
* Linux - make Linux build | * Linux - make Linux build | ||
* Make ZIP files - ZIPs all folders in the build folder | * Make ZIP files - ZIPs all folders in the build folder | ||
=== Scan Projects === | |||
Reloads the main project list. Called when the Unity Build Tool is started. | |||
=== Find Unity Scenes === | |||
For the selected projects, display all .unity files anywhere in the project folder | |||
=== Clear build folder === | |||
Delete all files in the "build" folder for the selected projects | |||
=== Open build folder === | |||
Open the "build" folder in Windows Explorer for each selected project | |||
=== Clear VS files === | |||
Delete all .csproj and .sln files in the main project directory for each selected project | |||
=== Remove Default Packages === | |||
Attempts to remove the default packages installed by Unity. | |||
* com.unity.textmeshpro | |||
* com.unity.ads | |||
* com.unity.analytics | |||
* com.unity.purchasing | |||
* com.unity.collab-proxy | |||
* com.unity.multiplayer-hlapi | |||
* com.unity.timeline | |||
* com.unity.xr.legacyinputhelper | |||
Adds PackageRemover.cs to the Editor folder, and calls PackageRemover.RemovePackages. | |||
Note - The removal will fail if there are errors related to TextMeshPro needing to be .NET 4.0 scripting. Set scripting in PlayerSettings to 4.0 before running RemovePackages. | |||
=== Update API === | |||
This will update the project to the current Unity version, without prompting for each selected project. | |||
Calls the following by command line | |||
<unity executable> -accept-apiupdate -batchmode -quit -projectPath <project path> |
Revision as of 20:09, 30 June 2019
Instructions for the Unity Build Tool
Compile Selected
Compile for the selected checkboxes
- Windows - make Windows build
- Mac - make MacOS build
- Linux - make Linux build
- Make ZIP files - ZIPs all folders in the build folder
Scan Projects
Reloads the main project list. Called when the Unity Build Tool is started.
Find Unity Scenes
For the selected projects, display all .unity files anywhere in the project folder
Clear build folder
Delete all files in the "build" folder for the selected projects
Open build folder
Open the "build" folder in Windows Explorer for each selected project
Clear VS files
Delete all .csproj and .sln files in the main project directory for each selected project
Remove Default Packages
Attempts to remove the default packages installed by Unity.
- com.unity.textmeshpro
- com.unity.ads
- com.unity.analytics
- com.unity.purchasing
- com.unity.collab-proxy
- com.unity.multiplayer-hlapi
- com.unity.timeline
- com.unity.xr.legacyinputhelper
Adds PackageRemover.cs to the Editor folder, and calls PackageRemover.RemovePackages.
Note - The removal will fail if there are errors related to TextMeshPro needing to be .NET 4.0 scripting. Set scripting in PlayerSettings to 4.0 before running RemovePackages.
Update API
This will update the project to the current Unity version, without prompting for each selected project.
Calls the following by command line
<unity executable> -accept-apiupdate -batchmode -quit -projectPath <project path>