Search Issue Tracker
By Design
Votes
0
Found in
5.4.4p1
Issue ID
900222
Regression
No
[UI] World space buttons don't work when moved in FixedUpdate
The EventSystem is updated in Update, after FixedUpdate. So if you have world space buttons that are moved in FixedUpdate (attached to a vehicle moved by physics etc) and a camera with its position updated in Update or LateUpdate etc then the raycasts from the mouse clicks will miss the buttons on most frames.
Steps to reproduce:
1. Open User's attached project
2. Play scene "Test"
3. Try to push the button
Expected result: Button click is registered and a message appears in the Console.
Actual result: Button click is missed.
Reproduced with: 2017.1.0b1, 5.6.0f3, 5.5.3f1, 5.4.5f1
Note: If FixedUpdate is changed to Update, void ButtonClicked() catches button click.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment