Hi, I have an issue where the server is stuck on Initialized. When I change it so the StartServer() method from NetworkManager (mirror) is called in OnServerActive listener, it works fine. But the issue is that when I change it matchcmaking can’t get port and IP (i assume the server is not active when a match has been found). Here’s the code of my ServerStartup script:
Here’s network manager:
And here’s matchmaking:
I’ve tried to follow Gsdk samples but server won’t start when running it from OnServerActive(). I think I need to wait until server becomes active and then get the port and set it to NetworkManager so it connects, but I have no idea how to do so.