BlackclawsK:
Unfortunately upgrading to preview.15 breaks il2cpp builds for iOS targets (my guess is all il2cpp targets are affected) on both 2021.1.15f1 and 2021.1.16f1. They error out with a linker error. preview.14 with 15f1 works fine but of course does not work with 16f1. Using preview.15 with 2021.1.15f1 also results in a lot of broken UI items in the package manager and other places.
The linker error for 15f1 is:
xception: Failed running /Unity/Hub/Editor/2021.1.15f1/Editor/Data/il2cpp/build/deploy/netcoreapp3.1/UnityLinker @“/home/felix/arfinity/development/unity/Arfinity.Unity.MobileDemoApp/MobileDemoApp/Temp/StagingArea/Data/Managed/response.rsp”
stdout:
Fatal error in Unity CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: ‘UnityEngine.TextCoreTextEngineModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
at Unity.Linker.EngineStripping.EngineModule.ResolvedReferences(UnityLinkContext context)+MoveNext() in /Users/bokken/build/output/unity/il2cpp/UnityLinker/Linker/EngineStripping/EngineModule.cs:line 42
The linker error for 16f1 is:
Exception: Failed running /Unity/Hub/Editor/2021.1.16f1/Editor/Data/il2cpp/build/deploy/netcoreapp3.1/UnityLinker @“/home/felix/arfinity/development/unity/Arfinity.Unity.MobileDemoApp/MobileDemoApp/Temp/StagingArea/Data/Managed/response.rsp”
stdout:
Fatal error in Unity CIL Linker
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: ‘UnityEngine.TextCoreTextEngineModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’
As mentioned on the post announcing the release , if you’re using IL2CPP you need to wait for the next versions of 2020.3 and 2021.1 being published this week.