Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
1
Question by HELLFIRE90000 · May 27, 2020 at 01:19 PM · layersscenes

,Objects disappearing when changing layer

I set my objects to a custom layermask variable so they are clickable, which works as the mouse icon changes in the game view when you hover over them. The problem is that my objects are now invisible in my scene view. They havn't been deleted or anything, can still access them in the hierarchy panel and change the layer back to default. I read about the main camera culling mask, but I have it set to everything? Any Idea how I sort this out? Thank you in advance.

alt text

,I set my objects to a custom layer so they are clickable, which works as the mouse icon changes in the game view when you hover over them. The problem is that my objects are now invisible in my scene view. I read about the main camera culling mask, but I have every layer ticked? Any Idea how I sort this out?

unity-scene-problem.jpg (54.3 kB)
Comment
Add comment · Show 1
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 Ning_ · Aug 15, 2020 at 11:44 AM 0
Share

I found out how to fix it, at the very top right nestled between Account and Layout there is an option called Layers which allows you to toggle layer visibility for the scene view. switching visibility from just default to Everything fixes it. Dont confuse this with the culling mask on the camera it is different. alt text

layers-visiblity.png (45.9 kB)

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by a_ercanbrack · Sep 29, 2021 at 10:33 AM

Just Ran into this problem. If you select the camera look down the options till you come to the Culling Mask. The Culling mask lists all the layers that are visible. Select the designed layer and Shazam it is fixed. alt text


culling-mask.gif (17.6 kB)
Comment
Add comment · Show 1 · 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
1

Answer by korongjembatan · Jul 19, 2020 at 11:48 AM

EDITED : Don't add new layer instead. Set that object as available layer. I set that object as water. And the object not disappear. It's ridiculous, but it works for me ,

Comment
Add comment · Show 1 · 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
0

Answer by Dubz · Oct 02, 2020 at 04:06 AM

@HELLFIRE90000 Hey, I had this happen to me too. You would have had the layer visibility disabled by accident. You can see this in the layers panel. The blue rectangle shows what the icon looks like when it's disabled.

alt text


layervisibility.jpg (48.5 kB)
Comment
Add comment · 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
0

Answer by Incredible201 · Dec 13, 2020 at 10:23 PM

In my opinion, this is a better workaround: Make an EmptyGameobject and then set whatever you want visible as a child of the EmptyGameobject, and then set the layer on the EmptyGameobject for only that Object NOT the children.

Comment
Add comment · 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

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

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

Related Questions

What should the best practice be to teleport player on top-down game 1 Answer

Sprites render before UI when starting game first time 1 Answer

2D sprites, layers, movable object. 0 Answers

How to duplicate several layers in a tilemap?,How to duplicate layered tilemaps? 0 Answers

Differentiate one layer from the other. 0 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