Search Issue Tracker
Fixed in 2017.1.X
Votes
3
Found in
5.6.0f3
Issue ID
899412
Regression
Yes
UnusedBytecodeStripper2 throws exceptions after iOS build completes
Steps to reproduce:
1. Open the project attached
2. Build to iOS
3. Observe the console
Result: Errors are thrown after build completes
1) Failed running /Applications/Unity 5.6.0f3/Unity 5.6.0f3.app/Contents/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe <...>"
2) Exception: /Applications/Unity 5.6.0f3/Unity 5.6.0f3.app/Contents/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly! <...>
Expected result: build completes with no errors
Reproduced with: 5.6.0f3
Did not reproduce with: 5.5.3p1 (regression)
Notes:
- Unable to test on 2017.1.0 (compile errors related to TouchScreenKeyboard)
- Including full error messages in note
- Error persists on both .NET 2.0 and .NET 2.0 Subset API compatibility levels
Workaround: reimporting the assemblies (right click on Assets folder in Project window -> Reimport) fixes the issue.
Comments (13)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "DirectoryNotFoundException" is thrown and Shader Graph does not open when opening a .shadegraph from a long path
- “Full Screen Pass Renderer Feature_Old GUID” text is cut off in Renderer Features window
- "Undo: Already found nextRootTransform, but with different state cached" error thrown when undoing changes made to the Hierarchy using a script
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
raydekk
Apr 21, 2017 20:29
as a workaround - right clicking on Assets (root folder) and then Reimport fixed it for me
raydekk
Apr 21, 2017 20:06
happens on 5.6.0p1 too
greg-harding
Apr 18, 2017 08:51
I'm having problems building for iOS in Unit 5.6.0f3 as well. An example of our editor output just after UnusedByteCodeStripper2 is run;
Fatal error in Mono CIL Linker
System.ArgumentException: Member 'UnityEngine.AudioClip' is declared in another module and needs to be imported