Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
959413
Regression
No
Scroll Rect content position changes after Canvas scale is animated
To reproduce:
1. Open attached Unity project "Systemicon.zip"
2. Open "Shooter Mechanic" scene
3. Go into Play mode
4. In the Hierarchy, navigate to Player --> Head --> Player UI Camera(Clone) --> Canvas --> Inventory --> Items In Category --> Viewport --> Content
5. Hold alt to make your cursor appear and click "inv" button to close the inventory.
6. Inspect Left and Right input fields in Content's Rect Transform component
7. Keep opening and closing the inventory
Result: Once the inventory is closed (UI scale.x is set to 0 through animation) , Content's Left and Right input fields' values will change to a random number. Open it again, the Left and Right values will again change to a random number, but with some sort of boundaries. After a random amount of inventory closing, upon opening it again the Left and Right values will not change to a fit in the UI thus it appears as though the items in the inventory have disappeared (see attached gif "UIscale.gif")
Reproduced on: 5.6.4p1, 2017.1.2p2, 2017.2.0p1, 2017.3.0b7
Comments (1)
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
unity_iLxAeHlWxpIIXw
Apr 01, 2019 11:19
check this link it will help you
https://github.com/CG-Tespy/Unity-RectTransform-Preset-Utils