Closed Alexejhero closed 3 months ago
After using the latest version of this branch I've started encountering a weird bug.
When I send a chat message by clicking the send button my chat completely breaks. Every time I press any key while the chat is open and focused it throws and ArgumentOutOfRangeException and cancels the key press in chat. So I'm no longer able to write anything in chat.
@Janniku9 Can you please post your log from %userprofile%/AppData/LocalLow/Innersloth/Among Us/Player.log
so that we can get a full unity stack trace?
@Alexejhero Sure, Here's the relevant part of the log:
ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
at System.String.Insert (System.Int32 startIndex, System.String value) [0x00000] in <00000000000000000000000000000000>:0
at TextBoxTMP.Update () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
@Janniku9
When I send a chat message by clicking the send button my chat completely breaks. Every time I press any key while the chat is open and focused it throws and ArgumentOutOfRangeException and cancels the key press in chat. So I'm no longer able to write anything in chat.
Should be fixed by 5dafd7f9dce135bd4048fd2acfd6983f25991d94
Merged manually
it works now 👍 thanks
Didn't know that the release cycle was based on tags, and I can't push this to master without another pr, so ¯\_(ツ)_/¯
Scuffed, i know