JetBrains / JetBrains/resharper-unity

add support for NetworkBehaviour

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

Description

![Image](https://github.com/user-attachments/assets/40e4733a-1fb9-4c91-993a-761f96556d78)

Currently `NetworkBehaviour` is greyed out because VS thinks that the class is never instantiated.
Prob needs the same rule as vanilla `Monobehavour`.

Contributor guide

Open the contributing guide

Research direction

Locate the existing rule that prevents Unity MonoBehaviour classes from being marked as never instantiated, then compare how NetworkBehaviour is recognized. Reproduce the greyed-out warning in a small Unity example and check the relevant inspection tests, if present. Done means NetworkBehaviour no longer receives this false positive while existing MonoBehaviour behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.