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
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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
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.