Search Issue Tracker
Fixed in 2020.2
Fixed in 2018.4, 2019.4, 2020.1
Votes
1
Found in
2019.3.13f1
Issue ID
1251628
Regression
No
[Android][IL2CPP] ARM64 Release build fails
Doing an ARM64 release build fails in UnityLinker with this call stack:
Fatal error in Unity CIL Linker
System.NullReferenceException: Object reference not set to an instance of an object.
at Mono.Cecil.ImportGenericContext.MethodParameter(String method, Int32 position)
at Mono.Cecil.MetadataImporter.ImportTypeSpecification(TypeReference type, ImportGenericContext context)
at Mono.Cecil.MetadataImporter.ImportType(TypeReference type, ImportGenericContext context)
at Mono.Cecil.MetadataImporter.ImportTypeSpecification(TypeReference type, ImportGenericContext context)
at Mono.Cecil.MetadataImporter.ImportType(TypeReference type, ImportGenericContext context)
at Mono.Cecil.MetadataImporter.ImportReference(TypeReference type, IGenericParameterProvider context)
at Unity.IL2CPP.Common.MissingMethodStubber.CreateNewMethodDefinition(MethodReference methodToClone, ModuleDefinition module, MethodAttributes attrs)
at Unity.IL2CPP.Common.MissingMethodStubber.SetupNewMethod(TypeDefinition type, MethodReference methodToClone, ModuleDefinition module, Boolean ignoreMethodToCloneAttributes)
at Unity.IL2CPP.Common.MissingMethodStubber.AddMethodStubs(IEnumerable`1 assemblyDefinitions, IEnumerable`1 typesToAdd, IEnumerable`1 methodsToAdd, String exceptionTypeName, MissingMethodExceptionMessageFor exceptionMessageFunc, Boolean generateMethodsForInterfaceImplementations)
at Unity.Linker.Steps.AddUnresolvedStubsStep.Process()
at Mono.Linker.Steps.BaseStep.Process(LinkContext context)
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
at Unity.Linker.UnityPipeline.ProcessStep(LinkContext context, IStep step)
at Mono.Linker.Pipeline.Process(LinkContext context)
at Unity.Linker.UnityDriver.Run()
at Unity.Linker.UnityDriver.RunDriverWithoutErrorHandling()
at Unity.Linker.UnityDriver.RunDriver()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader error db grows on each build
- Android ARCore build fails with 2019.4 due to outdated Gradle
- [tvOS] Visual artifacts are present when Ambient Occlusion is enabled and Dynamic Resolution is reduced
- Texture Importer Inspector throws errors when a built-in texture inspector is overwritten in C#
- Invalid AABB error is thrown when moving a Particle with Velocity over Lifetime and Limit Velocity over Lifetime modules
Add comment