Skip to content

[Compatibility] ChatPlexSDK_BS seems to make NalulunaAnimator stop working #1

@YoLeax

Description

@YoLeax

BS version: 1.40.4
ChatPlexSDK_BS version: 6.3.3
NalulunaAnimator version: 2.0.0

Once ChatPlexSDK_BS installed, NalulunaAnimator fails to init. Related logs that may help locate the issue:

[ERROR @ 17:51:18 | ChatPlexSDK_BS] [CP_SDK][ChatPlexSDK.InitModules] Failed to find modules in NalulunaUtils_MessagePack, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[ERROR @ 17:51:18 | ChatPlexSDK_BS] System.TypeLoadException: Could not load type of field 'NalulunaUtils.MessagePack.MessagePackSerializer+CompiledMethods:DeserializeAsync_Stream_Options_CancellationToken' (8) due to: Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
[ERROR @ 17:51:18 | ChatPlexSDK_BS]   at (wrapper managed-to-native) System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type)
[ERROR @ 17:51:18 | ChatPlexSDK_BS]   at System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0 
[ERROR @ 17:51:18 | ChatPlexSDK_BS]   at System.RuntimeType.IsAssignableFrom (System.Type c) [0x00020] in <51fded79cd284d4d911c5949aff4cb21>:0 
[ERROR @ 17:51:18 | ChatPlexSDK_BS]   at CP_SDK.ChatPlexSDK.InitModules () [0x00049] in <be838a085566474daafe6dae2f443508>:0 

[ERROR @ 17:51:20 | IPA] NalulunaAnimator OnEnable: System.TypeInitializationException: The type initializer for 'NalulunaUtils.MessagePack.MessagePackSerializer' threw an exception. ---> System.TypeLoadException: Could not load array element type, due to: Invalid type NalulunaUtils.MessagePack.MessagePackSerializer/CompiledMethods for instance field NalulunaUtils.MessagePack.Internal.ThreadsafeTypeKeyHashTable`1+Entry[NalulunaUtils.MessagePack.MessagePackSerializer+CompiledMethods]:Value assembly:data-0000027E281620C0 type:Entry member:(null)
[ERROR @ 17:51:20 | IPA]   at NalulunaUtils.MessagePack.Internal.ThreadsafeTypeKeyHashTable`1[TValue]..ctor (System.Int32 capacity, System.Single loadFactor) [0x00019] in <69752a6f433b419ab96c274f38db3a3b>:0 
[ERROR @ 17:51:20 | IPA]   at NalulunaUtils.MessagePack.MessagePackSerializer..cctor () [0x00022] in <69752a6f433b419ab96c274f38db3a3b>:0 
[ERROR @ 17:51:20 | IPA]    --- End of inner exception stack trace ---
[ERROR @ 17:51:20 | IPA]   at NalulunaAnimator.Plugin.OnEnable () [0x00045] in <e876a83777a8485c87496d0c91b87bfd>:0 
[ERROR @ 17:51:20 | IPA]   at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object)
[ERROR @ 17:51:20 | IPA]   at IPA.Loader.PluginExecutor.Enable () [0x00000] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Loader\PluginExecutor.cs:60 
[ERROR @ 17:51:20 | IPA]   at IPA.Loader.Composite.CompositeBSPlugin+<>c.<OnEnable>b__4_0 (IPA.Loader.PluginExecutor plugin) [0x00000] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Loader\Composite\CompositeBSPlugin.cs:43 
[ERROR @ 17:51:20 | IPA]   at IPA.Loader.Composite.CompositeBSPlugin.Invoke (IPA.Loader.Composite.CompositeBSPlugin+CompositeCall callback, System.String method) [0x0003f] in D:\a\BeatSaber-IPA-Reloaded\BeatSaber-IPA-Reloaded\IPA.Loader\Loader\Composite\CompositeBSPlugin.cs:29 

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