Search Issue Tracker
Fixed in 5.0.4
Votes
4
Found in
5.0.2p2
Issue ID
699228
Regression
Yes
IL2CPP compile error when script contains method group of interface to delegate conversion
How to reproduce:
1. Open attached project
- Project contains a single script:
using System;
public interface IMyInterface<T>
{
void OnNext(T value);
}
public static class Test
{
public static void Error<T>(IMyInterface<T> mi)
{
var act = new Action<T>(mi.OnNext); // il2cpp error
UnityEngine.Debug.Log(act);
}
}
2. Build to iOS
- Note the errors when building
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
- Camera sub dropdown "Open Reference" buttons do not work
Add comment