(*I have finished the course and I have the last game features, I am writing it here this because I believe it is the appropriate place to do so).
Hi guys!, I have a problem:
I click on Find Match button (menu), matchmaker connects (go to game scene), then I click on exit game, and I do this so many times (with editor and build).
But I see that there is a possible problem in the UGS part or the code.
After 10-20 times findind/leaving match, the first player that wants to find a match join, but the second keeps in the menu (so the first player is alone):
Hi friend,
when I restart the server it goes fine 20-30 matches (I have increased the number of servers from 5 to 7 like the teacher), but then it starts to crash (one player join but the other server throw error > editor is fine).
The other day error:
Perhaps your servers aren’t shutting down correctly, so they are running out of resources? Are you able to check the dashboard to see the compute usages?
As I told you I increased the servers from 5 to 7 and it seems that it takes longer for the error to appear (but it appears finally).
When it happens as I saw is when all the servers are allocated.
I don’t know if I can increase the cpu or ram speed of the servers.
It is very strange my friend. Thx again
Ya this seems like scaling issue on UGS end. Those servers should be deallocated when they are shutdown. Maybe you can contact support and get more information from them.
I always recommend students do not use ParrelSync for this course as it can cause a number of issues. Best to use builds of the game alongside the editor for testing.