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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment