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()

Networking

-

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)

  1. 7f6f87b6282154620d963ceb83491e5c?d=mm

    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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.