Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.4.X, 2020.1.X
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment