Skip to content

Crashes Resonite on load (Elements.Quantity) #3

Description

@Krzeszny

Resonite log exception:

ℹ️6:17:48 AM.901 (FPS: 0):		BoundedUIX
  DevToolSelectableUIX
ℹ️6:17:48 AM.951 (FPS: 0):		BoundedUIX
  UIX Gizmos
ℹ️6:17:49 AM.001 (FPS: 0):		BoundedUIX
  SlotAddingPatches
ℹ️6:17:49 AM.051 (FPS: 0):		BoundedUIX
  RectTransformDiagnosis
❌6:17:49 AM.102 (FPS: 0):	Unhandled exception when running the engine:
System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'Elements.Quantity, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null'.
   at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, MetadataImport& scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1& derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctorWithParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
   at System.Attribute.GetCustomAttribute(Assembly element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](Assembly element)
   at FrooxEngine.EngineInitializer.<>c__DisplayClass4_0.<InitializeFrooxEngine>b__0(Assembly assembly) in /home/runner/work/FrooxEngine/FrooxEngine/FrooxEngine/FrooxEngine/Initialization/EngineInitializer.cs:line 57
   at System.Threading.Tasks.Dataflow.ActionBlock`1.ProcessMessage(Action`1 action, KeyValuePair`2 messageWithId)
   at System.Threading.Tasks.Dataflow.Internal.TargetCore`1.ProcessMessagesLoopCore()
--- End of stack trace from previous location ---
   at DMD<DMD<>?15662289::FrooxEngine.EngineInitializer+<InitializeFrooxEngine>d__4::MoveNext>(<InitializeFrooxEngine>d__4& this)
--- End of stack trace from previous location ---
   at ResoniteModLoader.ModLoaderHook.InitializeFrooxEnginePostfixAsync(Task __result) in /_/MonkeyLoader.GamePacks.ResoniteModLoader/ModLoaderHook.cs:line 144
   at FrooxEngine.Engine.InitializeFrooxEngine(LaunchOptions options) in /home/runner/work/FrooxEngine/FrooxEngine/FrooxEngine/FrooxEngine/Engine.cs:line 919
   at FrooxEngine.Engine.Initialize(String appPath, Boolean useRenderer, LaunchOptions options, ISystemInfo systemInfo, IEngineInitProgress progress) in /home/runner/work/FrooxEngine/FrooxEngine/FrooxEngine/FrooxEngine/Engine.cs:line 638
   at MonkeyLoader.Resonite.EngineInitHook.InitializePostfixAsync(Task __result) in /_/MonkeyLoader.Resonite.Integration/EngineInitHook.cs:line 48
   at Renderite.Host.GraphicalClientRunner.Run(LaunchOptions options) in /home/runner/work/FrooxEngine/FrooxEngine/FrooxEngine/GraphicalClient/GraphicalClientRunner.cs:line 115
   at DMD<DMD<>?7206911::Program+<<Main>$>d__0::MoveNext>(<<Main>$>d__0& this)
<<< LOG END >>>

MonkeyLoader log:

[04:17:44.0500] [INFO]  [MonkeyLoader|Config] Loading config file: MonkeyLoader/MonkeyLoader.json
[04:17:44.1345] [WARN]  [MonkeyLoader|NuGet] Already added loaded package [Mono.Cecil.0.11.6]
[04:17:44.1345] [WARN]  [MonkeyLoader|NuGet] Already added loaded package [Newtonsoft.Json.13.0.0]
[04:17:44.1814] [WARN]  [MonkeyLoader] Loading libraries as NuGetPackageMods to make use of the logic - this should be changed.
[04:17:44.2204] [WARN]  [MonkeyLoader|Vanilla Tooltips] No compatible lib entry found!
[04:17:47.0067] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.ProtoFlux.ProtoFluxTool::GenerateMenuItems(FrooxEngine.InteractionHandler tool, FrooxEngine.ContextMenu menu)" was patched by the following:
[04:17:47.0082] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.fluxgrouper] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0082] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.ForeverVibing] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0083] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.SlotInspector::OnChanges()" was patched by the following:
[04:17:47.0083] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.BetterInspectorCheckbox] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0083] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.SlotInspectorCounter] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0083] [WARN]  [MonkeyLoader] Method "static bool FrooxEngine.Weaver.AssemblyPostProcessor::Process(string path, String& versionNumber, string frooxEngineModuleRoot)" was patched by the following:
[04:17:47.0084] [WARN]  [MonkeyLoader]     [Resonite Game Pack/PluginLoadingFix (Active)] (prefix=0; postfix=0; transpiler=1; finalizer=0)
[04:17:47.0085] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.RMLModSettings] (prefix=0; postfix=0; transpiler=0; finalizer=1)
[04:17:47.0099] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.ProtoFlux.ProtoFluxTool::GenerateMenuItems(FrooxEngine.InteractionHandler tool, FrooxEngine.ContextMenu menu)" was patched by the following:
[04:17:47.0099] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.fluxgrouper] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0099] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.ForeverVibing] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0099] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.SlotInspector::OnChanges()" was patched by the following:
[04:17:47.0099] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.BetterInspectorCheckbox] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0100] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.SlotInspectorCounter] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.0100] [WARN]  [MonkeyLoader] Method "static bool FrooxEngine.Weaver.AssemblyPostProcessor::Process(string path, String& versionNumber, string frooxEngineModuleRoot)" was patched by the following:
[04:17:47.0100] [WARN]  [MonkeyLoader]     [Resonite Game Pack/PluginLoadingFix (Active)] (prefix=0; postfix=0; transpiler=1; finalizer=0)
[04:17:47.0100] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.RMLModSettings] (prefix=0; postfix=0; transpiler=0; finalizer=1)
[04:17:47.1952] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.RenderSystem+<StartRenderer>d__151::MoveNext()" was patched by the following:
[04:17:47.1954] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.ResoniteModding.BepInExResoniteShim] (prefix=0; postfix=0; transpiler=1; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.ResoniteModding.RenderiteHook] (prefix=0; postfix=0; transpiler=1; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.ProtoFlux.ProtoFluxTool::GenerateMenuItems(FrooxEngine.InteractionHandler tool, FrooxEngine.ContextMenu menu)" was patched by the following:
[04:17:47.1955] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.fluxgrouper] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.dev.lecloutpanda.ForeverVibing] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader] Method "virtual void FrooxEngine.SlotInspector::OnChanges()" was patched by the following:
[04:17:47.1955] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.BetterInspectorCheckbox] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.SlotInspectorCounter] (prefix=0; postfix=1; transpiler=0; finalizer=0)
[04:17:47.1955] [WARN]  [MonkeyLoader] Method "static bool FrooxEngine.Weaver.AssemblyPostProcessor::Process(string path, String& versionNumber, string frooxEngineModuleRoot)" was patched by the following:
[04:17:47.1956] [WARN]  [MonkeyLoader]     [Resonite Game Pack/PluginLoadingFix (Active)] (prefix=0; postfix=0; transpiler=1; finalizer=0)
[04:17:47.1956] [WARN]  [MonkeyLoader]     [BepInEx.Plugin.NepuShiro.RMLModSettings] (prefix=0; postfix=0; transpiler=0; finalizer=1)
[04:17:49.1444] [WARN]  [MonkeyLoader] The loader's shutdown routine was triggered! Triggering shutdown for all 5 mods!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions