Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by callen · Dec 24, 2015 at 04:19 PM · uiscrollviewlayout

Problem making a scrolling menu ui...

I want a menu of UI objects, and there will be enough of these objects that I'll need to scroll. They are dynamically generated, though I don't think that matters to my question.

I have a scroll view, and on its "content" object I've added a VerticalLayoutGroup and a ContentSizeFitter. But this is throwing exceptions, despite being the same method shown in this video, without errors

It throws between 4 and 10 identical exceptions the first time these components are enabled, and every time I make a change to that canvas, but doesn't seem to affect functionality (ie it still works). The exceptions look like this:

 Trying to add (Layout Rebuilder for) Content (UnityEngine.RectTransform)
 for layout rebuild while we are already inside a layout rebuild loop.
 This is not supported.
 UnityEngine.Canvas:SendWillRenderCanvases()

To reiterate, the menu functions as you would expect. Removing either Component breaks the functionality, but using them both causes these errors every time I press Play.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by mustafa · Jan 07, 2016 at 09:31 PM

I've had the same error in Unity 5.3.

On the "Scroll Rect" component. Set the Horizontal and Vertical scroll bar "Visibility" to "Auto Hide" instead. And the errors should go away.

I found a solution here: http://forum.unity3d.com/threads/trying-to-add-layout-rebuilder-for-display-area.376492/#post-2441054

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lorenei · Jan 26, 2016 at 03:25 PM 0
Share

Thanks for that. Helped me to remove errors :) v 5.3.1p3

avatar image Wrymnn · Feb 06, 2016 at 08:05 PM 0
Share

Setting it to Auto-Hide didn`t help me. So it ain`t working for everyone

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

42 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Help needed with scrollrect in specific UI design 1 Answer

Why is my vertical layout group not spaced correctly? 1 Answer

How do I dynamically update a rect scroll from a List? 0 Answers

Scroll view not resizing properly with dynamic content 0 Answers

Scale a layout group based off of its children 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges