|
I've gotten the server side highscores script from the Unity Wiki and I'm getting an error when I run it in my game. here is the error I receive:
And here is the line that the error refers to:
It appears that the script is working to load the existing highscores from the database, so it's just something in Unity. Maybe I have to run a build of the game to get the php request working?
(comments are locked)
|
|
This is a type conversion error. It looks like you're building a string by adding together string literals and some variables. My best guess is that one of the variables is not a string type and cannot be converted automatically. Without seeing the whole file, I don't have enough context, but that doesn't really matter. A simple way to debug that line is to split it up and see where the problem occurs:
Please run this code in its place and see what line the error occurs on. That will reveal which variable is the problem. Yes, Michael. That was it. My variables were floats and it needed strings. Thanks a lot!
Apr 13 '10 at 06:29 PM
TinyUtopia
Not a problem. I fit helped you, please vote it up and mark it as accepted.
Apr 13 '10 at 06:46 PM
Michael La Voie
(comments are locked)
|
