Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 5.6.X, 2017.1.X, 2017.2.X
Votes
0
Found in
5.6.1p4
Issue ID
940906
Regression
No
[IL2CPP] "IL2CPP error for type 'System.Char' in assembly" error is thrown when building for iOS
To reproduce:
1. Open project attached by the user
2. In player settings make sure that Scripting Define Symbols is set to ARK_WEBREQUEST
3. Build it for iOS device
Expected result: Unity successfully builds the project.
Actual result: IL2CPP error for type 'System.Char' in assembly '/Users/user/Downloads/BUGREPORT/Temp/StagingArea/Data/Managed/mscorlib.dll'
Additional information: Build a development build for more information. Index was outside the bounds of the array.
Reproduced with: 5.6.0f1, 5.6.3f1
Wasn't able to test on 5.5.x versions due to 80+ compile errors.
On 2017.1 versions after fixing some compile errors it started throwing other errors:
IL2CPP error for method 'System.IntPtr UnitySteer2D.Behaviors.Fish2D::CreateInstance()' in assembly '/Users/vaidas/Downloads/case_940906-BUGREPORT/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll'
Additional information: Build a development build for more information. Index was outside the bounds of the array.
2017.2 and 2017.3 versions thrown errors with UnityLinker, this issue is already reported.
Backported to: 5.6.3p3, 2017.1.1p2, 2017.2.0b11
Fixed in 2017.3.0b1
Comments (1)
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
miinyholdings
Jul 22, 2019 11:41
Issue coming in project when converted it from 2017.1 version to unity 2017.4.30f1
Still the issue is coming in build and I have tried making build in different unity versions of 2017.