Search Issue Tracker

Won't Fix

Votes

1

Found in

5.5.3f1

Issue ID

901643

Regression

No

[Multiplayer] We can't use Start method in classes derived from NetworkLobbyPlayer

Networking

-

Original NetworkLobbyPlayer class uses Start method itself:

public void Start()
{
DontDestroyOnLoad(gameObject);
}

So, when you try to derive from this class and use Start() method - GamePlayed doesn't appear in GameScene at all

How we can reproduce it
Just open code of NetworkLobbyPlayer class and you will see that it uses Start() method

Expected results:
components shouldn't use methods like Start or Awake because users are expected to use them

  1. Resolution Note:

    Mass closure of UNET Bugs.
    As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
    Closing this bug as part of cleaning-up the Bug List.

    If you feel this bug is really a road-blocker, you can reopen the bug and we will work this one.

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.