Search Issue Tracker

Fixed in 2017.1.0f3



Found in


Issue ID




Content position sets to NaN with clamped Scrollview in Screen Space canvas



Content PosX, PosY, PosZ are set to NaN, when there is content size fitter with Horizontal Fit set to Min Size attached to it, scroll view is Clamped and in Screen Space canvas.

Reproduction steps:
1. Open attached project
2. Select Content GameObject
3. Open the inspector
4. Enter Play mode
5. Observe Content position

Expected: it doesn't change
Actual: it gets incremented and eventually reaches NaN

Not reproduced on: 5.6.0b1
Reproduced on: 5.6.0b2, 5.6.0f3, 2017.1.0a6
Regression introduced on: 5.6.0b2

Comments (5)

  1. 5c48390750e83b4962d6b16201b62000?d=mm


    Apr 14, 2017 04:18

    This bug is delaying an important project from final release for my team right now. Any solutions? I'm trying to avoid recreating the whole scrollview as newly created views seem to work fine.

  2. 2614a132ebe47f793f90adc31db9197f?d=mm


    Apr 13, 2017 16:55

    Same issue here.. being pulling my hair for a while

  3. 877bb49e4f45494992083979ca5a7376?d=mm


    Apr 10, 2017 18:11

    The same problem in my project..

  4. 9746878fd170891307bb46706af297a8?d=mm


    Apr 06, 2017 16:02

    Happened on ours as well. 5.6 "final", folks.

  5. 1128ca1a377b8bbdeb9c56b356ea8af5?d=mm


    Apr 06, 2017 09:43

    Happened on our project aswell. Can't upgrade to Unity 5.6 because of it. Amazing how such a bug flies by QA...

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.