I have a project in Unity iPhone Pro that behaves quite strange. Whenever I run the project through the player everything is fine. When I install it in the device it doesn’t produce the same results I get when in the Unity editor play mode. For example. I have a button that when clicked will write a string to another label. Although this works as expected while inside the play mode of the editor, it doesn’t work if the app runs from the iPhone itself. Actually, I do not get anything, not even an error. I am using Smartfox implementation for the project as well and do receive the following warning when building "Couldn’t load the script “Zone” because its file name doesn’t match the class name.
Please make sure the file name of the script is the same as the class defined inside it." , for various .CS files but is that the problem? Any ideas would be appreciated. Thank you.
are you on 1.5.0 or older? then the file potentially was changed in its letter case and thus it no longer matches. the filename and class name are both case sensitive
I am using the latest version. I was just starting to change the names
The names are ok. Hmmm, something else maybe?
hey antonios. did you figure out the cause of this for you? i’m seeing the same issue and all the names appear to be the same for me too.