- Home /
Question by
Wrymnn · Jun 07, 2016 at 05:30 AM ·
networking
uNet - need method that is called before OnStartClient()
Hi,
I need to call method to generate level before any OnStartClient() is called for on players (even Host).
But not sure why OnStartSever() is not called first, but host`s OnStartClient() is.
I just need to generate level as soon as game scene is loaded from lobby. Even OnLobbyServerSceneChanged() is called only after OnStartClient().
Thanks for any help.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612082420im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Network View ID Allocation 1 Answer
Help with player variables (prefab/network) 1 Answer
how can I send a render texture over the network? 1 Answer
Camera not spawning properly on network 0 Answers