Search Issue Tracker
Not Reproducible
Votes
2
Found in
5.4.0b16
Issue ID
793239
Regression
No
[UNET] NetworkIdentity returns wrong assetID values therefore 'Object has non-zero netID' error gets thrown
Reproduction steps:
1. Open User attached project
2. Build a standalone player
3. In the player - click on "LAN Host(H)"
4. In the editor - run "Offline" scene
5. Player - click on "Unspawn" UI button
6. Player - click on "Stop (X)"
7. Editor - click on "Pick New Host"
8. Editor - click on "Start As Host"
9. Editor - click on "Spawn" UI button
Notice error "Object has non-zero netId X" is thrown:
Object has non-zero netId 2 for CubeInstance (UnityEngine.GameObject)
UnityEngine.Networking.NetworkServer:Spawn(GameObject, NetworkHash128)
NetworkSpawner:Spawn() (at Assets/NetworkSpawner.cs:14)
UnityEngine.EventSystems.EventSystem:Update()
Expected: no error is thrown and proper Id is given
Versions Reproduced: Unity 5.3.4f1, 5.3.4p5, 5.4.0b12, 5.4.0b14, 5.4.0b16
Comments (1)
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
- Timeline section stops rendering after restoring Profiler Window modules
- Cursor image does not update when Cursor.SetCursor is called again with CursorMode.Auto
- Crash on do_runtime_invoke when reopening a specific project after failing to build it
- Animations change speed when rigidbody is added
- Low FPS persists when re-entering Play mode after an extended session in a specific project
BBIT-SOLUTIONS
Nov 12, 2018 11:29
This could maybe help:
https://answers.unity.com/questions/1570878/networkidentity-of-networklobbyplayer-has-assetid.html