Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2018.1.X, 2018.2.X

Votes

1

Found in

2018.1.0b9

Issue ID

1013854

Regression

No

Attempting to call method for which no ahead of time (AOT) code was generated

IL2CPP

-

Reproduction steps:
1. Open the attached '1013854_project' project.
2. Build the 'Test' scene to a device (tested using iOS, but it should be reproducible with any IL2CPP platform).
3. Check the console.

IL2CPP .NET 4.x
Attempting to call method 'System.Linq.Enumerable+WhereSelectEnumerableIterator`2<NewBehaviourScript+B`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], NewBehaviourScript+B`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]>::Select<NewBehaviourScript+B`1[[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]>' for which no ahead of time (AOT) code was generated.

Reproduced with:
- .NET 4.x
- 2017.2.2p1, 2017.3.2f1, 2018.1.0b11, 2018.2.0a5
- Checked and unchecked 'Strip Engine Code'

Not reproducible with:
- .NET 3.5

Note:
Log attached to the edit.

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.