线上项目报错IFix.Core.VirtualMachine.Execute
NullReferenceException: Object reference not set to an instance of an object. 0 NullReferenceException: Object reference not set to an instance of an object.System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <00000000000000000000000000000000>:0) 1 System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <00000000000000000000000000000000>:0) 2 IFix.Core.ReflectionMethodInvoker.Invoke (IFix.Core.VirtualMachine virtualMachine, IFix.Core.Call& call, System.Boolean isInstantiate) (at <00000000000000000000000000000000>:0) 3 IFix.Core.ExternInvoker.Invoke (IFix.Core.VirtualMachine vm, IFix.Core.Call& call, System.Boolean isInstantiate) (at <00000000000000000000000000000000>:0) 4 IFix.Core.VirtualMachine.Execute (IFix.Core.Instruction* pc, IFix.Core.Value* argumentBase, System.Object[] managedStack, IFix.Core.Value* evaluationStackBase, System.Int32 argsCount, System.Int32 methodIndex, System.Int32 refCount, IFix.Core.Value** topWriteBack) (at <00000000000000000000000000000000>:0) 5 IFix.Core.VirtualMachine.Execute (System.Int32 methodIndex, IFix.Core.Call& call, System.Int32 argsCount, System.Int32 refCount) (at <00000000000000000000000000000000>:0) 6 IFix.ILFixDynamicMethodWrapper.__Gen_Wrap_0 (System.Object P0) (at <00000000000000000000000000000000>:0) 7 GameDll.Building.RefreshCd () (at <00000000000000000000000000000000>:0)
虚拟机反射调用原生代码,原生代码抛的异常,换言之是你们代码的错误