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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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