Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.4f1
Issue ID
795456
Regression
No
StandardAssets.CrossPlatformInput - When MobileInput is enabled GetButtonDown and GetButtonUp are one frame late
To reproduce:
1. Open attached project
2. Open the scene "MainScene" int the "_Scenes" folder
3. Press "Play"
4. Click anywhere
Notice that if GetButton is true for frames X to Y, GetButtonDown is true for frame X+1, and GetButtonUp is true for frame Y+2
Expected result: GetButtonDown is true for frame X, GetButtonUp is true for frame Y+1
Workaround: Use GetButton, and save last frame's value to get the frame where the button was pressed or released
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment