Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b10
Issue ID
924188
Regression
Yes
Panel is drawn in the wrong position when gameobject::SetActive is called in the Selectable::OnPointerExit
To reproduce:
1. Open the "TestScene" scene in the attached project
2. Play the scene
3. Right-click several times in different positions on the Game view within Canvas boundaries
Desired outcome: During each click red panel is redrawn in such position that cursor is in the middle of it.
Actual result: Sometimes red panel is late to appear in a new position, although its position values are updated correctly.
Note: The issue appears only when the red panel is a child of the blue panel in the Hierarchy.
Note: The issue is caused by this::gameobject::SetActive(false), which is called in the Selectable::OnPointerExit of the red panel.
Reproduced with 2017.1.0b9, 2017.1.0b10, 2017.1.0f1
Not reproduced with 5.5.4p1, 5.6.2p1, 2017.1.0a1, 2017.1.0b8, 2017.2.0a1, 2017.2.0b1
Regression introduced in 2017.1.0b9
------------
Fixed in 2017.2, 2017.1.2p4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU Resident Drawer adding DontUnloadUnusedAsset to Meshes and Materials when editing them in Scene
- [Linux] Crash on VideoPlayer::InvokeScriptCallbacks when domain reloads while playing a video
- Clearing color and depth/stencil buffers are recorded in Frame Debugger when using URP
- Xbox One controller does not work and is not recognized in Unity Editor when plugged in via USB cable
- Scrolling speed is inconsistent in runtime when using UI Toolkit ScrollView
Add comment