Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UseButton.Awake throws an error in the logs (but doesn't really affect anything as far as I can tell) #188

Open
AlchlcDvl opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something is broken

Comments

@AlchlcDvl
Copy link

Describe the bug
Every time a lobby is opened, an error pops up in the logs

To Reproduce
Just start a lobby with the mod installed, it'll pop the error in the logs

Expected behaviour
No error in the logs.

Screenshots
None

Version:

  • Among Us: 2025.1.30
  • Submerged: 2024.11.26

Log file
The log is all normal except for the error here:

[Error  :Il2CppInterop] During invoking native->managed trampoline
Exception: Il2CppInterop.Runtime.Il2CppException: System.ArgumentException: An item with the same key has already been added. Key: 128
--- BEGIN IL2CPP STACK TRACE ---
System.ArgumentException: An item with the same key has already been added. Key: 128
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00000] in <00000000000000000000000000000000>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <00000000000000000000000000000000>:0
  at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00000] in <00000000000000000000000000000000>:0
  at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in <00000000000000000000000000000000>:0
  at UseButton.Awake () [0x00000] in <00000000000000000000000000000000>:0
--- END IL2CPP STACK TRACE ---

   at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
   at DMD<UseButton::Awake>(UseButton this)
   at (il2cpp -> managed) Awake(IntPtr , Il2CppMethodInfo* )
@AlchlcDvl AlchlcDvl added the bug Something is broken label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken
Development

No branches or pull requests

1 participant