Search Issue Tracker
Active
Fixed in 6000.3.3f1, 6000.4.0b8, 6000.5.0a2
Fix In Review for 6000.0.X
Under Consideration for 6000.4.X
Votes
10
Found in
6000.0.61f1
6000.2.9f1
6000.3.0b8
6000.4.0a4
Issue ID
UUM-125284
Regression
Yes
[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>}}
Comments (2)
-
OleksandrL1
Nov 28, 2025 21:02
Use the "CVE-2025-59489 Patcher Tool" to fix the existing build
-
unity_272580106575ACA0021A
Nov 04, 2025 15:30
This issue keeps us from moving up from Unity 2021, so we can't comply with the latest play store requirements and therefore cannot release any new updates. Is it possible to get a time estimate for when this is looked at? Thanks in advance
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note (fix version 6000.4.0b8):
Fixed in 6000.4.0b8