Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.3.11f1
6000.4.0b11
6000.5.0b1
6000.6.0a3
Issue ID
UUM-138136
Regression
No
Error "InvalidProgramException: Invalid IL code" is thrown when sorting file directories with lambda expressions
Reproduction steps:
1. Open the attached project “ReproProject”
2. Open the scene “Main”
3. Enter Play Mode
4. In the Game view, press File → <Redacted> (see internal comments)
5. Observe the result in the Game view and the Console window
Actual result: Error appears in the Console window: InvalidProgramException: Invalid IL code in <user_namespace> (): IL_007a: brtrue.s IL_0093 <Redacted> UI menu is not opened
Expected result: <Redacted> UI menu opens, no errors in the Console Window
Reproducible in: 6000.3.12f1, 6000.4.1f1
Could not test with: 6000.0.71f1, 6000.5.0ab1, 6000.6.0a1 (unsolvable package compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: The code which causes the error is located at file <Redacted2> at lines 59 and 70
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment