Highscores tuto from Unity wiki problem

Hey !

I have a big problem : I don’t know how to do highscores on a game. I tried the same scripts as the unity community wiki but it doesn’t work ! Can someone help me ?

thanks :wink:

Well you need to be clearer… Say what errors you get etc. Or else we don’t know what to help you with.
There might be a thousand reasons why it could not work and therefore we need a better explanation of problem. :slight_smile:

first, when i send a score using unity, it doesn’t says any error, but when i look in my database, i don’t see any score.

Then, when i display high scores from the php DisplayScore, i see this in the GUIText :

Nobody can help ??

Hi,

I am getting an almost identical problem.
Have you solved it yet?

Thanks,
Stuart

You’re probably using a hosting company (free companies do this a lot) that is using google analytics to track usage. This is done by appending some javascript to all pages served. That’s why you see what you do in the string returned, instead of the score string that you expected from PHP.

Look in your hosting configuration panel and turn off ‘statistics gathering.’ Alternately, connect your hosting company for help turn it off.

Thanks a lot!

Does somebody use 000webhost ?