- Home /
Question by
gwendalbroudin · Aug 31, 2016 at 01:04 PM ·
guibug
ScrollView content not rendering its content but the elements in it are still resonding
Hello Everyone,
I'm facing a very strange behavior on unity 5.4.0f3. After I've updated a package on my project (Vuforia 5.4 -> 6.0), the content of every scrollView became invisible. The strangest part is that if I click where the button is supposed to be, it execute the callback linked to it.
capture-decran-2016-08-31-a-114322.png
(64.0 kB)
Comment
No they aren't, but I've created new ones and it is working now. It is weird though.
Answer by Brogan89 · Feb 22, 2017 at 08:31 AM
I have had this problem a couple times too. It doesn't always happen so I think it's a bug which I have reported.
But my simple fix is this bit of complicated code:
void Start()
{
scrollRect.gameObject.SetActive(false);
scrollRect.gameObject.SetActive(true);
}
Hope it helps anyone else that comes across this issue.