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
- Objects flickering in Play Mode when using RenderTexture with Canvas
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
Add comment