Exception: IL2CPP error for method ‘System.Void Bolt.UnityMessageListener::AddGUIListeners()’ in Bolt.Core.Runtime\Events\UnityMessageListener.cs:38
System.NullReferenceException: Object reference not set to an instance of an object.
at Unity.IL2CPP.MethodBodyWriter.WriteMethodCallExpression(String returnVariable, Func1 getHiddenMethodInfo, IGeneratedMethodCodeWriter writer, MethodReference callingMethod, MethodReference methodToCall, MethodReference unresolvedMethodtoCall, TypeResolver typeResolverForMethodToCall, MethodCallType callType, IRuntimeMetadataAccess runtimeMetadataAccess, IVTableBuilderService vTableBuilder, IEnumerable
1 argumentArray, Boolean useArrayBoundsCheck, Func2 addUniqueSuffix) at Unity.IL2CPP.MethodBodyWriter.WriteCallExpressionFor(MethodReference callingMethod, MethodReference unresolvedMethodToCall, MethodCallType callType, List
1 argsFor, Func2 addUniqueSuffix, Boolean emitNullCheckForInvocation) at Unity.IL2CPP.MethodBodyWriter.WriteCallExpressionFor(MethodReference unresolvedMethodToCall, MethodCallType callType, List
1 poppedValues, Func2 addUniqueSuffix, Boolean emitNullCheckForInvocation) 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.CodeWriters.CodeWriterExtensions.WriteMethodWithMetadataInitialization(IGeneratedMethodCodeWriter writer, String methodSignature, String methodFullName, Action
2 writeMethodBody, String uniqueIdentifier, MethodReference methodRef)
at Unity.IL2CPP.MethodWriter.WriteMethodDefinition(AssemblyWriteContext context, IGeneratedMethodCodeWriter writer, MethodReference method, Boolean addToMethodCollection)
at Unity.IL2CPP.SourceWriter.WriteType(SourceWritingContext context, IGeneratedMethodCodeWriter writer, TypeReference type, NPath filePath, Boolean writeMarshalingDefinitions, Boolean addToMethodCollection)
at Unity.IL2CPP.SourceWriters.TypeMethodsSourceWriter.WriteItem(SourceWritingContext context, IGeneratedMethodCodeWriter writer, TypeDefinition item, NPath filePath)
at Unity.IL2CPP.SourceWriters.SourceWriterBase1.WriteItem(StreamWorkItemData
2 data)
at Unity.IL2CPP.Contexts.Scheduling.Streams.FileLevelParallelStreamManager2.WorkerWriteItemsToFile(WorkItemData
2 data)
at Unity.IL2CPP.Contexts.Scheduling.PhaseWorkScheduler1.WorkerLoop(Object data) UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at <0e11587263324259967daac4d577d226>:0) UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action
1[T] setupStartInfo) (at <0e11587263324259967daac4d577d226>:0)
UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List1[T] arguments, System.Action
1[T] setupStartInfo, System.String generatedCppOutputDirectory) (at <0e11587263324259967daac4d577d226>:0)
UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (UnityEditor.Il2Cpp.Il2CppBuildPipelineData data, System.String outputDirectory, System.Boolean platformSupportsManagedDebugging) (at <0e11587263324259967daac4d577d226>:0)
UnityEditorInternal.IL2CPPBuilder.Run () (at <0e11587263324259967daac4d577d226>:0)
UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String stagingAreaData, UnityEditorInternal.IIl2CppPlatformProvider platformProvider, System.Action1[T] modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at <0e11587263324259967daac4d577d226>:0) DesktopStandalonePostProcessor.RunIL2CPP (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditorInternal.IIl2CppPlatformProvider il2cppPlatformProvider, System.Collections.Generic.List
1[T] cppPlugins) (at <0e11587263324259967daac4d577d226>:0)
DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at <0e11587263324259967daac4d577d226>:0)
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <0e11587263324259967daac4d577d226>:0)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at <0e11587263324259967daac4d577d226>:0)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <0e11587263324259967daac4d577d226>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <0e11587263324259967daac4d577d226>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)