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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
BBIT-SOLUTIONS
Nov 12, 2018 11:29
This could maybe help:
https://answers.unity.com/questions/1570878/networkidentity-of-networklobbyplayer-has-assetid.html