JetBrains / JetBrains/resharper-unity

Find usages grouping doesn't handle multiple GameObjects with the same name

Open
#984 0 comments 0 reactions 0 assignees View on GitHub
yaml
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

A scene can contain multiple `GameObject` instances with the same name. Rider's grouping in Find Usages results will merge these results. E.g.

scene1 -> gameObject1 -> A(with TestScript)
scene1 -> gameObject1 -> gameObject2 -> B (with TestScript)

Both instances are grouped under the same `gameObject1`.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported scene with two GameObjects named gameObject1 and inspect the Find Usages results for TestScript. Trace the grouping entry point from that behavior; done means the two distinct GameObject paths remain separate instead of being merged under the shared name.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.