Search Issue Tracker

Fixed in 2021.1

Fixed in 2020.1, 2020.2

Fix In Review for 2019.4

Votes

2

Found in

2019.4

2019.4.8f1

2020.2

Issue ID

1276405

Regression

No

[IL2CPP] Nested generic limit error is thrown when using Sprache and increasing the limit does not work

IL2CPP

-

How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Inspect the Console
4. Exit the Play Mode
5. Go to the Build Settings (File->Build Settings)
6. In the Build Settings, enable the "Development build"
7. Make a build
8. Open the build Standalone Player
9. In the Player, observe the Console Window

Expected result: No errors are thrown
Actual result: "NotSupportedException: IL2CPP encountered a managed type which it cannot convert ahead-of-time. The type uses generic or array types which are nested beyond the maximum depth which can be converted." error is thrown

Reproducible with: 2019.4.10f1, 2020.1.5f1, 2020.2.0b3
Couldn't test with: 2018.4.27f1 (crash while building)

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in Unity 2021.1.0a1

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in Unity 2020.2.0b7

  3. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in Unity 2020.1.11f1

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.