Search Issue Tracker

Fixed in 5.6.0



Found in


Issue ID




Viewport content position values breaks to NaN value when changing Scroll Rect position (can not undo)



Reproduction steps:
1. Open project attached (
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 (23)

  1. 58ddee8a3c578b42fc7941afec2c72b5?d=mm


    Apr 18, 2017 19:16

    Thank you, PhaneV. Changing from clamped to elastic solved it.

  2. 691b44e2a7a80d9b1890ac4a3ae33dfe?d=mm


    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".

  3. 462a16c9e9be677d620513f3143441a6?d=mm


    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

  4. 8df7469bcf2f3c537f8fe89e44f75231?d=mm


    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

  5. 9746878fd170891307bb46706af297a8?d=mm


    Apr 09, 2017 15:44

    Really messes up our UI in 5.6f3

  6. 29484ad790d3d8545125b672ac27e91b?d=mm


    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 (?) :

  7. 29484ad790d3d8545125b672ac27e91b?d=mm


    Apr 07, 2017 20:08

    Happens in 5.6.0f2 Personal.
    Thanks @ Egproject, otherwise I would've updated to try on it too.

  8. 2ff43146eba08675e595fe2ea85489ff?d=mm


    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.

  9. 908c0c1508167ed52d866ba072839352?d=mm


    Apr 07, 2017 08:48

    Reproduces with 5.6.0f3 Personal

  10. 25655a301b3bd7e88f7ebae5d03df0c3?d=mm


    Mar 28, 2017 14:50

    In our case, the ScrollRect is in a Canvas in World Space render mode and having these issues.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.