"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.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, unity

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.

Description

type:feedback

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).

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

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.

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

All issues in Unity-Technologies/com.unity.netcode.gameobjects

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.