decentraland / decentraland/unity-explorer
System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
Sentry Issue: [UNITY-EXPLORER-Q18](https://decentraland.sentry.io/issues/7717014680/)
```
System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: count
File "mscorlib__1.cpp", line 29460, in Remove
File "il2cpp-codegen.h", line 792, in Backspace
File "UnityEngine.TextCoreTextEngineModule.cpp", line 5678, in Backspace
File "UnityEngine.TextCoreTextEngineModule.cpp", line 3012, in HandleKeyEvent
File "UnityEngine.TextCoreTextEngineModule.cpp", line 4489, in HandleKeyEvent
...
(25 additional frame(s) were not displayed)
```
This issue was automatically created by Sentry via [Explorer Alpha Github Issue Creation](https://sentry.io/organizations/decentraland/monitors/alerts/3130340/)
Contributor guide
Research direction
Start with the Sentry event and its stack trace, focusing on Backspace in il2cpp-codegen.h and the UnityEngine.TextCoreTextEngineModule.cpp HandleKeyEvent path. Identify the user-input state that produces the out-of-range removal; done means the exception is no longer observed for that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100