Search Issue Tracker
Duplicate
Votes
2
Found in
5.3.3f1
Issue ID
778063
Regression
No
SyncListStruct does not synchronize on NetworkBehaviour instantiation
How to reproduce:
1. Open attached project
2. Build project to Standalone and run
3. Host a server on the Standalone player
4. Click the 'Add struct to player SyncList' button
5. Play the scene Main.unity in the editor
6. Join as client
7. Examine the Player (Clone) gameobjects
- Note that one of them has a '1' in the intList, but does not have anything in the customList
- Clicking the Add struct button in the Host again causes the client to properly sync an additional '1' in the intList and an item in the customList
- Reproduced in Version 5.2.4f1 (98095704e6fe), Version 5.3.3p3 (1c43f6d3d3c3), Version 5.4.0b9 (04b47bfe5580)
-
Kesarium
Jun 17, 2016 23:10
My previous comment is regarding Unity version 5.4.0b21
-
Kesarium
Jun 17, 2016 23:08
I was modifying a newly instantiated Game Object's SyncListStruct before calling NetworkServer.Spawn() on the game object and clients were not getting the modified SyncListStruct when the game object was spawned.
I instead modified the newly instantiated Game Object's SyncListStruct after calling NetworkServer.Spawn() on the game object and it is now synchronizing correctly to clients as the game object is spawned.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
This is a duplicate of issue #775248