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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment