Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a14
Issue ID
1328759
Regression
Yes
Ads package doesn't build with il2cpp scripting backend
Repro Steps:
- Create an empty project,
- Add the Ads package,
- Set the scripting backend to il2cpp,
- Try to build.
Expected: Successful build
Observed: il2cpp build error, pasted here:
Error: IL2CPP error (no further information about what managed code was being converted is available)
System.ArgumentException: Copy() called on path that doesnt exist: D:\Temp\il2cpp repro\Packages\com.unity.ads\Plugins\iOS\UnityAdsInitializationListener.h
at NiceIO.NPath.CopyWithDeterminedDestination(NPath absoluteDestination, Func`2 fileFilter)
at Unity.IL2CPP.AssemblyConversion.AssemblyConverter.ConvertAssemblies(AssemblyConversionInputData data, AssemblyConversionParameters parameters, AssemblyConversionInputDataForTopLevelAccess dataForTopLevel)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Reproducible with: 2021.2.0a14
Not reproducible with: 2021.2.0a13
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2021.2):
Issue is with il2cpp and might be affecting other packages or scripting code