Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
1028758
Regression
No
[IL2CPP][Windows][iOS][Android] Building process fails when any code uses __arglist
To reproduce:
1. Download attached project "1028758.zip" and open in Unity
2. Open "bug" scene
3. In Player Settings change Scripting Backend to "Mono"
4. Try to build on Android platform
5. Observe it will build fine
6. Change Scripting Backend to "IL2CPP"
7. Try to build on Android platform
8. Observe that build will fail and in Console, there will be spammed some errors:
"IL2CPP error (no further information about what managed code was being converted is available)
Additional information: Build a development build for more information. The method or operation is not implemented."
Notes:
- This issue appears only on Windows
- In OSX everything works fine
- Building standalone works fine
- For Android platform, you can use Workaround - just change Scripting Backend to "Mono"
- For iOS platform, there is no Workaround cause Unity no longer support "Mono" Scripting Backend for iOS
- Errors with Development build and Project are shared in Comments section
Reproduced on Unity 5.6.5p4, 2017.1.3p4, 2017.2.3f1, 2017.3.2f1, 2017.4.3f1, 2018.1.0f2, 2018.2.0b4 and 2018.3.0a1
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
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
Resolution Note:
We do not plan to support __arglist in IL2CPP since it is an undocumented feature of C#