Call function on server before any OnStartClient

Hi,

I need to call method to generate level before any OnStartClient() is called for on players. 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 After OnStartClient().

Thanks for any help.

cmon guys, 40+ seen this topic and nobody knows one function that runs before all client “OnStartClient” functions?

I better pick up Photon then use this mess…

OnStartServer() should be getting called first according to the Networking source code

It is not calling for me. The host`s OnStartClient() is called first according to console log.