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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
BBIT-SOLUTIONS
Nov 12, 2018 11:29
This could maybe help:
https://answers.unity.com/questions/1570878/networkidentity-of-networklobbyplayer-has-assetid.html