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
0
Question by Fattie · Jan 23, 2016 at 11:06 PM · uiscroll view

Curiously, Viewport seems to need an Image?

On a Unity.UI ScrollRect setup,

when you click to create a scroll view, the "Viewport" item which is created, has an Image component

It does nothing - you can't actually see it or the color you set.

I've just noticed that if you turn off or delete that Image component, all of the Content disappears - you can't see anything.

(Indeed, the "Content" item also has an Image - however you can just delete it and usually do, since you inevitably have your table items or whatever in there covering the entire space.)

Has anyone else noticed this? I wonder why it would be that deleting it seems to blank the content??

Comment
Add comment · Show 3
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 brunocoimbra · Jan 23, 2016 at 11:45 PM 1
Share

Yep, I noticed that too.

avatar image Fattie brunocoimbra · Jan 24, 2016 at 02:28 AM 0
Share

intriguing ... weird eh ??

avatar image Fattie brunocoimbra · Jan 24, 2016 at 03:55 PM 0
Share

Good one, I sent you reward points to say thanks

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by lassade · Jan 23, 2016 at 11:37 PM

I just try it right now with the 5.3.1f1 and indeed the contents disappears, but reapears when i hit play and stay that way even when i exit the play mode, after that disable or enable the Image component does not change any thing.

Reopen the scene will make the contents disapper again even with the image enabled.


I also tried it with 5.2.2

I only left the Viewport gameobject with an RectMask2D and every thing works fine.

Comment
Add comment · Show 4 · 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 lassade · Jan 23, 2016 at 11:39 PM 0
Share

Btw remove the $$anonymous$$ask (to see the UI$$anonymous$$ask sprite kind have a little bit of white in it) or replace it with Rect$$anonymous$$ask2D and you are good to go.

avatar image Fattie · Jan 24, 2016 at 02:29 AM 0
Share

latest version. No, I had nothing else there, mask unrelated

avatar image Fattie · Jan 24, 2016 at 03:53 PM 0
Share

Ciao, fascinating --- maybe we found a real bug. Good work

avatar image Fattie · Jan 24, 2016 at 03:55 PM 0
Share

Good one, I sent you reward points to say thanks

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

43 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 avatar image

Related Questions

How to trigger OnValueChange(Vector 2) method from code? 1 Answer

Calculating normalized horizontal position based on container size with fixed item size 1 Answer

ScrollRect bahaving weirdly 1 Answer

Scroll view not scrolling when colliders are in the way 0 Answers

Scroll rect starting in the middle 3 Answers


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