Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
0
Found in
6000.0.61f1
6000.2.9f1
6000.3.0b8
6000.4.0a4
Issue ID
UUM-125284
Regression
No
[iOS] [Android] External library generics fail during IL2CPP build
How to reproduce:
1. Open the “ReproProject.zip“ project
2. Open the “SampleScene“
3. Build for Android
Expected result: Build successfully
Actual result: Build fails with several errors
Reproducible with: 2023.2.0a17, 6000.0.61f1, 6000.2.9f1, 6000.3.0b8, 6000.4.0a4
Reproducible environment: macOS 15.7 (M4 Max), Windows 11 (Reporters)
Not reproducible environment: No other environment tested
Notes:
- Building with {{--generic-option=EnableLegacyGenericSharing}} flag also spews out errors
- Reproducible with both Android and iOS builds
Errors without a flag:
{{Error: IL2CPP error for method 'CommonLibs.Swizzle5<T1,T2,T3,T5,T4> CommonLibs.Swizzle5::op_Implicit(CommonLibs.Swizzle5<T1,T2,T3,T4,T5>)'}}
{{Error: IL2CPP error for method 'CommonLibs.Swizzle2<T2,T1> CommonLibs.Swizzle2::op_Implicit(CommonLibs.Swizzle2<T1,T2>)'}}
Errors with a flag:
{{System.NullReferenceException: Object reference not set to an instance of an object.}}
{{Error: IL2CPP error for method 'System.ValueTuple`2<SharedNetwork.RequestStatus,TNew>}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment