Skip to content

Dont Show Cosmetics In Game crashes on Steam #128

Description

@endotrizine

Description

ErrorLog.log:

Fatal error. 0xC0000005
   at Il2CppInterop.Runtime.IL2CPP.il2cpp_runtime_invoke(IntPtr, IntPtr, Void**, IntPtr ByRef)
   at PlayerControl.SetHat(System.String, Int32)
   at AUnlocker.DontShowCosmeticsInGame_PlayerControl_FixedUpdate_Postfix.Postfix(PlayerControl)
   at DynamicClass.DMD<PlayerControl::FixedUpdate>(PlayerControl)
   at DynamicClass.(il2cpp -> managed) FixedUpdate(il2cpp -> managed) FixedUpdate(IntPtr, Il2CppInterop.Runtime.Runtime.Il2CppMethodInfo*)

LogOutput.log:

[Message: Preloader] BepInEx 6.0.0-be.735 - Among Us (11.06.2026 17:29:35)
[Message: Preloader] Built from commit 5fef3570f212b2fb5fbe9c1d20487c13c2fa90cb
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 32-bit (x86)
[Info   :   BepInEx] Running under Unity 2022.3.44f1
[Info   :   BepInEx] Runtime version: 6.0.7
[Info   :   BepInEx] Runtime information: .NET 6.0.7
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Warning:Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[Info   :Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 1 plugin to load
[Info   :   BepInEx] Loading [AUnlocker 1.3.0+dae4f53f6456205912ea68136906e349b34a459c]
[Warning:Il2CppInterop] Method AUnlocker.AUnlocker get_Plugin() on type AUnlocker.KeybindListener has unsupported return type AUnlocker.AUnlocker
[Warning:Il2CppInterop] Method Void set_Plugin(AUnlocker.AUnlocker) on type AUnlocker.KeybindListener has unsupported parameter AUnlocker.AUnlocker value of type AUnlocker.AUnlocker
[Info   :Il2CppInterop] Registered mono type AUnlocker.KeybindListener in il2cpp domain
[Message:   BepInEx] Chainloader startup complete
[Info   : AUnlocker] UI resized to 100%
[Info   : AUnlocker] UI resized to 100%
[Info   : AUnlocker] UI resized to 100%

Expected Behavior

not crash

Steps to Reproduce

  1. BepInEx\config\AUnlocker.cfg -> DontShowCosmeticsInGame = true
  2. Join a lobby and play for a couple of minutes

Additional Information

No response

Operating System

Windows 11

Game Platform

Steam

Game Version

v17.4s

AUnlocker Version

1.3.0

Other Mods

No response

Verification

  • I confirm that this issue does NOT occur in the vanilla game (without AUnlocker or BepInEx installed).
  • I confirm that I have searched existing issues and this is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions