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
- Referred style sheet stays dirty after saving when using the UIBuilder
- The Height map Amplitude is not working when using HDRP/LayeredLit
- Crash on internalABP::BoxManager::prepareData when entering Play Mode
- Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player
- Creating material variant produces errors if there is no Materials folder
Add comment