You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a network object with a network list of networkBehaviourReferences, in pre7 this list was populated on the client but since updating to pre10 it's not being populated.
Reproduce Steps
Connect a client to the server.
Spawn network object containing a list, and populate that list.
Actual Outcome
Server's list is populated, client's list is not.
Expected Outcome
Client list should be populated the same as the server.
Environment
OS: macOS Big Sur
Unity Version: 2021 LTS
Netcode Version: 1.0.0-pre.10
Additional Context
I've attached the scripts from a test project to demonstrate the problem. There are NetworkListContainer and NetworkListEntity network objects, the NetworkListContainer contains two network lists, one of networkBehavourReferences (NetworkListEntity's) and one of ints.
To run the attached scripts add StartScene and NetworkListScene to the build.
Test outcomes:
Server spawns objects and populates lists, client connects - objects spawn on client and lists are populated
Client connects, server spawns objects and populates lists - objects spawn on client but lists not populated
Server spawns objects hidden, client connects, show objects to client - objects spawn on client but lists not populated
Client connects, server spawns objects hidden, show objects to client - objects spawn on client but lists not populated networklist_issue.unitypackage.zip
The text was updated successfully, but these errors were encountered:
Description
I have a network object with a network list of networkBehaviourReferences, in pre7 this list was populated on the client but since updating to pre10 it's not being populated.
Reproduce Steps
Connect a client to the server.
Spawn network object containing a list, and populate that list.
Actual Outcome
Server's list is populated, client's list is not.
Expected Outcome
Client list should be populated the same as the server.
Environment
Additional Context
I've attached the scripts from a test project to demonstrate the problem. There are NetworkListContainer and NetworkListEntity network objects, the NetworkListContainer contains two network lists, one of networkBehavourReferences (NetworkListEntity's) and one of ints.
To run the attached scripts add StartScene and NetworkListScene to the build.
Test outcomes:
Server spawns objects and populates lists, client connects - objects spawn on client and lists are populated
Client connects, server spawns objects and populates lists - objects spawn on client but lists not populated
Server spawns objects hidden, client connects, show objects to client - objects spawn on client but lists not populated
Client connects, server spawns objects hidden, show objects to client - objects spawn on client but lists not populated
networklist_issue.unitypackage.zip
The text was updated successfully, but these errors were encountered: