cmooref17 / Lethal-Company-TooManyEmotes

https://thunderstore.io/c/lethal-company/p/FlipMods/TooManyEmotes/
MIT License
16 stars 9 forks source link

TooManyEmotes not working with AdvancedCompany #141

Closed ShirowLeBG closed 4 months ago

ShirowLeBG commented 4 months ago

When using the TooManyEmotes mod (2.1.24) alongside the AdvancedCompany mod (1.1.29), emotes are visible to us but not to other players. Additionally, the console shows the following errors:

[Info   :TooManyEmotes-2.1.24] Attempting to perform emote on local player.
[Info   :TooManyEmotes-2.1.24] [Shirow] Performing emote: afk
[Error  : Unity Log] MissingFieldException: Field not found: BepInEx.Configuration.ConfigEntry`1<bool> MoreCompany.MainClass.cosmeticsSyncOther Due to: Could not find field in class
Stack trace:
TooManyEmotes.Patches.ThirdPersonEmoteController.OnStartCustomEmoteLocal () (at <1920d875321e4935b7d0de3b3c129bb8>:IL_017F)
TooManyEmotes.EmoteControllerPlayer.PerformEmote (TooManyEmotes.UnlockableEmote emote, System.Int32 overrideEmoteId, System.Boolean doNotTriggerAudio) (at <1920d875321e4935b7d0de3b3c129bb8>:IL_00F1)
TooManyEmotes.EmoteControllerPlayer.TryPerformingEmoteLocal (TooManyEmotes.UnlockableEmote emote, System.Int32 overrideEmoteId, TooManyEmotes.Props.GrabbablePropObject sourcePropObject) (at <1920d875321e4935b7d0de3b3c129bb8>:IL_032C)
TooManyEmotes.Input.Keybinds.PerformEmoteLocal (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <1920d875321e4935b7d0de3b3c129bb8>:IL_0071)
TooManyEmotes.Input.Keybinds.OnPressOpenEmoteMenu (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <1920d875321e4935b7d0de3b3c129bb8>:IL_00AA)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <dbb0ce7b96144bd8bcbcb8b0d765f970>:IL_001B)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error  : Unity Log] MissingFieldException while executing 'canceled' callbacks of 'FlipMods.TooManyEmotes.IngameKeybinds/OpenEmoteMenuHotkey[/Keyboard/backquote]'

Thank you for your help in resolving this issue!

ShirowLeBG commented 4 months ago

My bad, seems like a AdvancedCompany issue