Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
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
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)
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
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
- Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.0b7
Resolution Note (fix version 2020.1):
Fixed in Unity 2020.1.11f1
Resolution Note (fix version 2019.4):
Fixed in Unity 2019.4.15f1