Search Issue Tracker
Fixed
Votes
0
Found in
2018.4
2019.3.9f1
2019.4
2020.1
2020.2
2021.1
Issue ID
1294628
Regression
No
[IL2CPP] BuildMethodException when building project where scripts contain Slinq query in them
How to reproduce:
1. Open "EmptyApp.zip"
2. In Project Settings -> Player -> Scripting Backend set IL2CPP
3. Build the project
Expected result: Project builds successfully
Actual result: Build fails and an error is thrown in the Console:
IL2CPP error for type 'System.String' in assembly 'D:\UnityProjects\case_1294628-EmptyApp\Temp\StagingArea\assets\bin\Data\Managed\mscorlib.dll'
Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a8
Notes:
- after commenting the query in 34th line in EnumerableExtensions.cs, the issue does not reproduce
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment