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
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
- [Android] Crash on ProcessDynamicBatchGeometryJob with OpenGL or on DrawSharedGeometryJobs with Vulkan
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
BBIT-SOLUTIONS
Nov 12, 2018 11:29
This could maybe help:
https://answers.unity.com/questions/1570878/networkidentity-of-networklobbyplayer-has-assetid.html