Search Issue Tracker

Fixed

Votes

0

Found in

5.5.0b11

Issue ID

850673

Regression

Yes

Command line argument -buildTarget crashes Editor on etPrecompiledAssemblyMask when target platform has to switch

Deployment Management

-

How to reproduce:
1. Open the attached project in Unity ( without a Library/Temp folder to force a rebuild all)
2. Switch platform to Android and close the editor)
3. Download Test.bat, tail.exe and place these files to one folder
4. Edit Test.bat
5. Change all %WORKSPACE% values to the path where your project is
6. Change %UNITY_DESTINATION_PATH% to where you want to publish
7. Installation path will translate it to "C:\Program Files\Unity550\Editor\Unity.exe" so you will need to hardcode Unity installation path to your desired path
8. Save all changes and close Test.bat file
9. Run Test.bat file

Expected result: This *.bat file should switch from Android to Windows and then make a build to Windows 32 platform.
Actual result: *.bat file switches from Android to Windows and crashes

Note:
- You can see editor log file in {PROJECT_ROOT}/BuildLogs/550_win32.log with the entire crash stacktrace
-Having Windows platform open in Editor and building for Windows doesn't crash, save with Android.

Reproducible: 5.5.0b11, 5.5.0f1, 5.6.0a3
Not reproducible: 5.5.0b10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.