JetBrains / JetBrains/resharper-unity

Consider downgrading "Repeated property access of built in component is inefficient" to hint

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

Description

Accessing a property of a built in component can be inefficient because it's transitioning to native code multiple times for unchanged data. Currently, this is a warning, but it might be more appropriate to mark as a hint, especially in non-critical code paths

Contributor guide

Open the contributing guide

Research direction

No file or test is identified in the issue. Start by searching for the inspection named “Repeated property access of built in component is inefficient”; done means its severity is downgraded from warning to hint, with any relevant existing verification updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
devtools, performance
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.