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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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