Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.3.X
Not Reproducible in 2017.2.X
Won't Fix in 2017.1.X
Votes
2
Found in
2017.1.1f1
Issue ID
953409
Regression
Yes
UI Image Position doesn't updated in Editor IF the object is not active while using PointerEventData eventData
How to reproduce:
1. Download attached project file and open "scene1" Scene
2. Enter Play Mode and Right Click with mouse on Red Panel (notice Green Panel appears)
3. Click again on Red Panel, but in different position
Expected result: Panel appears in place where mouse was clicked (only in Red Panel zone)
Actual result: First time, that works fine, but if you repeat it, it won't position the green box correctly. If you look in the Scene Window and have the "RightClickMenuPanel' selected, you can see the gameObjects outline is moved, but the actual image doesn't move.
Reproduced with: 2017.1.1p3, 2017.2.0b7, 2017.3.0b2
Not reproduced with: 5.6.3p4, 2017.1.0b8, 2017.2.0b8, 2017.2.0f1
Regression: Since 2017.1.0b9 Till 2017.2.0b8;
Since 2017.3.0a1;
Workaround: put SetActive(true) in front of GetComponent<RectTransform>().position = eventData.position;
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
DADA_universe
Sep 07, 2018 15:27
Similar issue experienced in Unity 2017.4.9f1
benperry
Jan 15, 2018 10:44
Looks like this fix might of introduced this bug:
https://issuetracker.unity3d.com/issues/recttransform-left-and-right-values-change-upon-applying-the-prefab-that-also-contains-a-textmeshpro-component
alexander-mofr
Oct 01, 2017 09:22
Reproduced with 2017.1.0f3 too