-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't do operations on NetworkList
with no NetworkManager
(offline)
#2539
Labels
Comments
PitouGames
added
stat:awaiting triage
Status - Awaiting triage from the Netcode team.
type:bug
Bug Report
labels
Apr 30, 2023
PitouGames
added a commit
to PitouGames/com.unity.netcode.gameobjects
that referenced
this issue
Apr 30, 2023
PitouGames
added a commit
to PitouGames/com.unity.netcode.gameobjects
that referenced
this issue
May 2, 2023
NoelStephensUnity
added
stat:import
priority:medium
stat:imported
Issue is tracked internally at Unity
and removed
stat:awaiting triage
Status - Awaiting triage from the Netcode team.
stat:import
labels
May 10, 2023
PitouGames
added a commit
to PitouGames/com.unity.netcode.gameobjects
that referenced
this issue
Aug 19, 2023
Bump! Do you really prefere throwing a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
When using a
NetworkList
with noNetworkManager
in scene (in my solo mode), operations on the list (add, insert, remove, clear...) throws an NullReferenceException.This is because of the use of
m_NetworkBehaviour
that hasn't been initialized.NetworkVariable<T>
doesn't suffer from this behaviour because a check on m_NetworkBehaviour is made.Actual Outcome
A null reference exception is thrown an the operation is not done.
Expected Outcome
The operation is done.
Environment
The text was updated successfully, but these errors were encountered: