Unity-Technologies / Unity-Technologies/com.unity.netcode.gameobjects

"NetworkBehaviors require a NetworkObject" - remove this dialog box please

Open
#2,761 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feedback
Dominant language
C#
Stars
2.3k
Forks
461
Avg merge
3d 16h
Merged PRs (30d)
20

Description

Feedback
image

I am aware and this prefab is part of another prefab that owns the network object. Moving this network behavior component up to the base is not required since the server and the client will spawn separate representations and has separate behaviors. But there is no way to disable this message. At least not in NGO version 1.6.0

Suggested Changes
This message is not that important if you know your prefab setup. Please remove it or make an option to show it (default is to not show).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor code that displays the “NetworkBehaviors require a NetworkObject” dialog and reproduce it with a NetworkBehaviour on a nested prefab. Confirm how the parent NetworkObject setup is detected, then make the requested suppression or option behavior verifiable in the Unity editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev, networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.