Skip to content

Plugin initialization failed: Missing dependencies Harmony #2

@antoni0C0des

Description

@antoni0C0des

I don't know if a lab API broke this plugin, but these are the logs

[2026-01-16 11:49:58.721 +01:00] [ERROR] [LabApi] [LOADER] Couldn't load the plugin inside '/home/container/.config/SCP Secret Laboratory/LabAPI/plugins/7777/SecretAPI.dll'
[2026-01-16 11:49:58.731 +01:00] [ERROR] [LabApi] [LOADER] Missing dependencies:
                                 -       LabApi v1.1.4.0
                                 -       0Harmony v2.2.2.0
[2026-01-16 11:49:58.742 +01:00] [ERROR] [LabApi] System.TypeLoadException: Could not load type of field 'SecretAPI.SecretApi:<Harmony>k__BackingField' (1) due to: Could not load file or assembly '0Harmony, Version=2.2.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
                                   at (wrapper managed-to-native) System.RuntimeType.GetConstructors_native(System.RuntimeType,System.Reflection.BindingFlags)
                                   at System.RuntimeType.GetConstructors_internal (System.Reflection.BindingFlags bindingAttr, System.RuntimeType reflectedType) [0x00008] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.GetConstructorCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00047] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.GetConstructors (System.Reflection.BindingFlags bindingAttr) [0x00000] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.GetDefaultConstructor () [0x0002c] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache) [0x00009] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00020] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at System.Activator.CreateInstance (System.Type type) [0x00000] in <069d7b80a3914a08b6825aa362b07f5e>:0 
                                   at LabApi.Loader.PluginLoader.InstantiatePlugins (System.Type[] types, System.Reflection.Assembly assembly, System.String filePath) [0x00024] in <9e8e00107de94d4f8ea9fc96c93d382f>:0 
                                   at LabApi.Loader.PluginLoader.LoadPlugins (System.Collections.Generic.IEnumerable`1[T] files) [0x00140] in <9e8e00107de94d4f8ea9fc96c93d382f>:0
[2026-01-16 11:49:58.753 +01:00] [INFO] [LabApi] [LOADER] Enabling all plugins
[2026-01-16 11:49:58.824 +01:00] [INFO] [LabApi] [LOADER] Successfully enabled 'SCP Proximity Chat', Version: 1.0.3.0, Author: 'Axwabo'
[2026-01-16 11:49:58.844 +01:00] [INFO] [LabApi] [LOADER] Successfully enabled 'RemoteKeycard', Version: 3.4.0, Author: 'Beryl && Parkeymon (Maintained by Unbistrackted)'
[2026-01-16 11:49:58.925 +01:00] [ERROR] [LabApi] [LOADER] Couldn't enable the plugin 'SSSS Proximity Chat', Version: 1.0.3.0, Author: 'Axwabo'
[2026-01-16 11:49:58.935 +01:00] [ERROR] [LabApi] System.TypeInitializationException: The type initializer for 'ScpProximityChat.SecretAPI.Settings.SettingsRegistry' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SecretAPI.Features.UserSettings.CustomSetting' threw an exception. ---> System.TypeLoadException: Failure has occurred while loading a type.
                                    --- End of inner exception stack trace ---
                                   at SecretAPI.Features.UserSettings.CustomKeybindSetting..ctor (UserSettings.ServerSpecific.SSKeybindSetting setting) [0x00000] in <96ffc338a7e8448ead0a8cb6c2a94dff>:0 
                                   at SecretAPI.Features.UserSettings.CustomKeybindSetting..ctor (System.Nullable`1[T] id, System.String label, UnityEngine.KeyCode suggestedKey, System.Boolean preventInteractionOnGui, System.Boolean allowSpectatorTrigger, System.String hint) [0x00014] in <96ffc338a7e8448ead0a8cb6c2a94dff>:0 
                                   at ScpProximityChat.SecretAPI.Settings.ProximityChatToggle..ctor () [0x00000] in <94d989015d484944be89a49f3b3de2c5>:0 
                                   at ScpProximityChat.SecretAPI.Settings.SettingsRegistry..cctor () [0x00000] in <94d989015d484944be89a49f3b3de2c5>:0 
                                    --- End of inner exception stack trace ---
                                   at ScpProximityChat.SecretAPI.SecretApiProximityChatPlugin.Enable () [0x0005c] in <94d989015d484944be89a49f3b3de2c5>:0 
                                   at LabApi.Loader.PluginLoader.EnablePlugin (LabApi.Loader.Features.Plugins.Plugin plugin) [0x00012] in <9e8e00107de94d4f8ea9fc96c93d382f>:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions