Okay I figured it out. Somehow, the value on the “Value” slider of the vertical scrollbar was below or above the normal 0 to 1 range. I never even touched that gameobject so I have no idea how that happened. I’m not sure why it didn’t update like it normal does when the content gameobject is moved. But either way I hope this helps someone.
I think on the scrollbar the Navigation need to be set to Vertical and the Value to 1. In case you need that to be set to 1 each time the Content gets enable probally need a script to get that value on reflect float and set it to 1 OnEnable but also OnEnable component Scrollbar turn off and on the bool to refresh it.
Nice it works for me thanks
This is probably because when the scale is set to 0, the scroll rect cannot compare dimensions (both length and width become 0) and coordinates, causing it to incorrectly and continuously change coordinates. Therefore, there are two main solutions:
- Do not set the scale to 0 (use 0.0001 instead).
- Prevent the scroll rect from comparing dimensions, for example, by disabling the scroll rect or setting the vertical and horizontal properties to false during scaling
btw, unity is a piece of shit. it’s a bug since 2015 and nobody is trying to solve it.
Thank you, this was the only helpfull one.
Set Content Transform vector Y to 0 , be aware this vector get other value each time the prefab get Override values. This is because the Scrollbar size is smaller than content. At least this how i fix it.