Hey!
I have a turn based board game using Playfab and photon for matchmaking.
I have come to problem where the device get's very hot very quick.
Managed to profile it down to being connected with the network calls.
Making one call to PlayFab/photon give a energy cost but also the "overhead" after stays for some time. Enough for you to take a turn in another game making another call.
Just by doing a few calls the Energy goes to high/very high and stays there.
I have optimized the calls and batched things together as good as I can but it's so weird.
Other games i never see running into this problem by just doing some simple web calls.
Possibly could optimize UI and things like that in the game but from the profiler it looks like it's mainly the web calls.
Any tips / ideas how to not make the phone go warm after just a few minutes of playing?
I try to limit the calls I make:
- Refreshing game list on startup
- Send move
- Get leadboard
- Refresh game list 30 sec