decentraland / decentraland/unity-explorer

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Open
#10,018 1 comment 0 reactions 0 assignees View on GitHub
1-high bug sentry ui
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 16h
Merged PRs (30d)
101

Description

Sentry Issue: [UNITY-EXPLORER-Q19](https://decentraland.sentry.io/issues/7717014728/)

```
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
File "mscorlib__1.cpp", line 28283, in Insert
File "il2cpp-codegen.h", line 792, in ReplaceSelection
File "UnityEngine.TextCoreTextEngineModule.cpp", line 5896, in ReplaceSelection
File "il2cpp-codegen.h", line 1216, in Insert
File "UnityEngine.TextCoreTextEngineModule.cpp", line 6024, in Insert
...
(23 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

Open the contributing guide

Research direction

Start with Sentry issue UNITY-EXPLORER-Q19 and the reported stack trace, focusing on UnityEngine.TextCoreTextEngineModule.ReplaceSelection and Insert. Trace how the project reaches that path, find a reproducible text-selection case, and verify the out-of-range exception no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.