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
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Add comment