Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.2.1f1
Issue ID
734112
Regression
Yes
[NetworkIdentity] Object with NetworkIdentity ignores DontDestroyOnLoad()
Repro steps:
1) Open the project and LobbyScene
2) Hit play and select LAN Host
3) Notice NetworkDontDestroyOnLoadObject in the Hierarchy window, which has a script with DontDestroyOnLoad function
4) Hit Ready/Not Ready button in the Game view and notice that the NetworkDontDestroyOnLoadObject was destroyed
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
- Pressing “Open” button in Inspector > “High Quality Lines” Override throws “Item m_RenderPipelineSettings.supportHighQualityLineRendering not found” warning
- Overlays are immediately undocked when the Overlay is docked to the right side of Scene View and the Overlay's Handle is clicked
- Crash in PhysicsManager::IgnoreCollision when a GameObject with “Is Trigger” enabled enters a collision in a specific project
- Selecting unsupported Material in Physically Based Sky throws “RenderingCommandBuffer” errors instead of error help box in Inspector window
- Undo and redo does not update color field pop-up window after undoing other events outside the pop-up window
angusmf
Dec 07, 2015 13:44
Is the object really destroyed? I'm seeing this issue (seemingly) with the network lobby beta project, however, if you add a debug message to OnApplicationQuit, you can see the object is actually still there, but doesn't appear in the hierarchy.