Hi There
I have a basic plant growing game in development. There is a button that waters the plant with timers and if its done in time the prefabs progress to the next growth in 4 stages. Works fine in Unity Game play but when I push to IoS a single click moves through all 4 growth stages in one go. Is there a suggested approach to input system to prevent the differences or is there a known approach to this? I am wasting days to trying to crack this.
Thanks
1 Like
You would need to debug and see if your code is being called every frame per touch, for instance, or if this is a bug created by some kind of conditional compilation, or other platform change that results in your code not waiting for a timing gap between calls of a function.
If you use XR Simulation in the Editor, and it works fine, then the Device Runtime can show different results sometimes. You can test with AR Foundation Remote to catch the bug.
To be clear, you do not need to purchase a 3rd party tool to debug an iOS app. Instructions for using a debugger can be found here: Unity - Manual: Debug C# code in Unity
1 Like