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
- [Device Simulator] The non-zero touch states do not reset and are set to the "Began" state with "InProgress" being true when releasing the left-click
- Debug.DrawLine depthTest parameter starts flickering during OnSceneGUI() when SceneView.RepaintAll() is used
- [RenderGraphViewer]No help button that could lead to the documentation page
- Building "ManagedStripping" fails when a script uses a custom package
- [Quest] Visual artifacts are present when rendering Spot lights with Forward+ Rendering Path in XR
Add comment