I am trying to build for iOS after updating to 5.4.1 but I am getting an error from il2cpp which looks like:
il2cpp.exe didn't catch exception: System.Exception: Attempting to pop '3' values from a stack of depth '2'.
at Unity.IL2CPP.MethodBodyWriter.PopItemsFromStack(Int32 amount, Stack`1 valueStack)
at Unity.IL2CPP.MethodBodyWriter.ProcessInstruction(Node node, InstructionBlock block, Instruction& ins)
at Unity.IL2CPP.MethodBodyWriter.GenerateCodeRecursive(Node node)
at Unity.IL2CPP.MethodBodyWriter.Generate()
at Unity.IL2CPP.MethodWriter.WriteMethodBody(MethodReference method, CppCodeWriter methodBodyWriter, IRuntimeMetadataAccess metadataAccess)
at Unity.IL2CPP.MethodWriter.WriteMethodWithMetadataInitialization(CppCodeWriter writer, String methodSignature, String methodFullName, Action`3 writeMethodBody, String uniqueIdentifier)
Sadly I do not get more information than that. Worked fine prior the 5.4.1 update.
↧