Search Issue Tracker

Fixed in 5.4.3

Votes

4

Found in

5.3.6f1

Issue ID

840596

Regression

No

[IL2CPP] InvalidOperationException when using Linq's Queryable.Where

IL2CPP

-

Steps to reproduce:

1. Open attached project
2. Open scene "DemoScene" and build it on any platform using IL2CPP scripting backend
3. Run build and when scene loads press "SelectFiltered" button
4. Notice InvalidOperationException
at System.Reflection.MonoMethod.MakeGenericMethod_impl (System.Type[] types) [0x00000] in <filename unknown>:0
at System.Reflection.MonoMethod.MakeGenericMethod (System.Type[] methodInstantiation) [0x00000] in <filename unknown>:0
at System.Linq.Queryable.MakeGeneric (System.Reflection.MethodBase method, System.Type[] parameters) [0x00000] in <filename unknown>:0
at System.Linq.Queryable.Where[TSource] (IQueryable`1 source, System.Linq.Expressions.Expression`1 predicate) [0x00000] in <filename unknown>:0

Reproduced with: 5.3.6p7, 5.4.2f1, 5.5.0b7

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.