Hi!
My game saves player highscore, players coins etc. to the server. I’ve basically used the Server Side Highscores.
http://wiki.unity3d.com/index.php?title=Server_Side_Highscores
So I got different functions for the saves and they save the info one by one. Something like this…
function SavePlayerName()
{
var namePost = WWW(addName_url);
yield namePost;
if (namePost.error)
{
print(namePost.error);
}
SavePlayerCoins();
}
function SavePlayerCoins()
{
var coinsPost = WWW(addName_url);
yield coinsPost;
if (coinsPost.error)
{
print(coinsPost.error);
}
}
My games is also for Android and iOS devices. Everything works with them but when I build the same game/code on Windows Phone - it seems that all the information is not updating. In Visual Studio’s Debug Log I noticed some memory issues. Does these WWW add up on each other? Taking more and more memory? Since my game is checking coins many times in different places in the game. Any ideas what to do?