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

IL2CPP

-

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

  1. Resolution Note:

    We do not plan to support __arglist in IL2CPP since it is an undocumented feature of C#

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.