Hi all
If someone bought the first version of LKA Basketball Mania, can you update it and tell me if it works?
If it’s freezing, can you please follow this steps and let me know if it works?
Click and hold the Power button to power off the device, wait some seconds then press again the Power button to turn the phone back on. Launch the game.
If it’s still freezing, delete the program from your device and reinstall it.
You won’t be charged again. Reboot the device and launch the game.
So I found the reson… it’s my bug, well, in part: I forgot to modify a script that works well only if the try/catch works as it should.
In brief, please UT fix the try/catch bug, and if you want to play with the actual update of my game please delete it and resync with iTunes.
I am sending the update to Apple.
Yes, so it’s my fault only… well, it should give an error while building the application and behave in the same mode in the unity ide and not executing the “catch” part.
You can report bugs in the Help menu of the Unity Editor. If exceptions don’t work at all,that would be a good bug report. I can’t say because I’m not using them. In your example below I use the Javascript function parseInt which doesn’t require a try/catch.
I guess just test more carefully on the device before publishing your production release. There are several things which can crash at runtime:
null references
coroutine without yield()
exceptions, with script call optimizations turned on
others?
As I understand it, the whole point of the script call optimization setting is that you turn it on after you are sure your game isn’t generating exceptions, and certainly that you are not throwing any exceptions yourself in your code. Otherwise don’t turn it on.
It doesn’t appear to be documented like that exactly, so maybe it was one of the Unite videos or some thread in the forums where I got this from.