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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
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