Search Issue Tracker
Fixed in 5.6.0
Votes
17
Found in
5.6.0b7
Issue ID
881819
Regression
Yes
Viewport content position values breaks to NaN value when changing Scroll Rect position (can not undo)
Reproduction steps:
1. Open project attached (ScrollRectTest.zip).
2. Open scene "test".
3. Press on Scroll Rect (in Canvas).
4. Drag it by X.
Expected result: Scroll Rect moves with all its content.
Actual result: Content (Scroll Rect -> Viewport) rect transform position breaks (becomes NaN) and unable to undo it.
Reproduced on: 5.6.0b2, 5.6.0b7, 5.6.0b9.
Works fine in: 5.5.1p4, 5.6.0b1.
Regression introduced in: 5.6.0b2.
Comments (24)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Genebris
Apr 18, 2017 19:16
Thank you, PhaneV. Changing from clamped to elastic solved it.
AbelSierraSanchez
Apr 14, 2017 15:33
This happens to me in the current version 5.6.0f3.
The solution to avoid this till they fix this bug is the one that PHANEV said:
This issue stopped reproducing after I changed the Movement Type of the scroll rect to "Elastic". Was previously using "Clamped".
Ederic
Apr 13, 2017 09:57
We are having the same problem, scroll rect value goes to NAN when we move it. In 5.6.0f3
pixelsplit
Apr 11, 2017 09:16
So is there gonna be a fix for 5.6 too or will this be only fixed in 2017? o.O
MrLucid72
Apr 09, 2017 15:44
Really messes up our UI in 5.6f3
PhaneV
Apr 07, 2017 20:12
Further on:
This issue stopped reproducing after I changed the Movement Type of the scroll rect to "Elastic". Was previously using "Clamped".
I tried this after finding this bug here, which might be related (?) :
https://issuetracker.unity3d.com/issues/rect-transform-values-are-set-to-nan-when-decreasing-the-height-of-the-content-game-object-in-scroll-view
PhaneV
Apr 07, 2017 20:08
Happens in 5.6.0f2 Personal.
Thanks @ Egproject, otherwise I would've updated to try on it too.
uzihead
Apr 07, 2017 16:09
The issue is still present in 5.6.0f3 Plus. All my drop downs got broken with the update, unfortunately. Scroll rect still unusable unless ready to redo it 100 times until you get lucky.
EGProject
Apr 07, 2017 08:48
Reproduces with 5.6.0f3 Personal
Rational-MA
Mar 28, 2017 14:50
In our case, the ScrollRect is in a Canvas in World Space render mode and having these issues.