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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
We do not plan to support __arglist in IL2CPP since it is an undocumented feature of C#