Search Issue Tracker

Fixed in 4.6.X

Votes

1

Found in

4.6.0b18

Issue ID

631958

Regression

No

When using World Space Canvas, UI button on that canvas gets highlighted color even when mouse cursor is'nt over the button

UI

-

To reproduce:
1. Open attached project
2. Open TestScene scene
3. Press play
4. Move in front of Button in game view
5. Make sure that mouse cursor isn't over Button
6. Move forward and back
7. Notice that when player is moving forward/back Button gets highlighted

Comments (1)

  1. warmaha

    Sep 12, 2014 19:42

    To reproduce this with new empty scene, if anyone is interested to test :
    1. Import character controller package from standard assets.
    2. Add First Person Controller to scene.
    3. Delete old Main Camera, because it's not needed anymore.
    4. Add 3D Object - Plane to scene under First Person controller, so you can move around without falling.
    5. Scale that plane big enough so you have more room to move.
    6. Add UI - Canvas
    7. Change Canvas Render Mode to World Space
    8. Move, resize and scale canvas, so it nicely fit to camera view
    9. Add UI - Button under canvas
    10. Make button Highlighted color something easy to notice (red etc.)
    11. Hit play and move around.

    You will notice that button get Highlighted color randomly even when mouse cursor is not over the button.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.