Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 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 Oorlfe · Dec 20, 2018 at 06:37 PM · gameobjectsdisappearing

Objects sometimes disappearing at varying distances in scene view, game view is fine

Hi, thanks for any help. I see a lot of people that seem to have a similar sounding problem caused by issues with clipping planes and visible layers, but this is not the same problem I am having.

In game mode everything is fine. Usually in scene view I can zoom right up to my objects, but now and then Unity causes them to start disappearing when I get within a certain distance. What the distance is seems to vary. Sometimes, but not always, when I restart Unity it fixes the issue. I've tried playing with the visible layers and clipping planes to verify that they are not a part of the issue. At the moment I am actually able to get closer to my objects in game view than scene view. thoughts?

Comment
Add comment · Show 4
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 MacDx · Dec 20, 2018 at 06:42 PM 0
Share

Some questions:

Are they meshes? skinned meshes? sprites? Are you using layers and rendering them through different cameras? Do these objects have immense or tiny scales? Are you using vanilla Unity or do you have plugins and the like that contain editor scripts that might modify the game view? Are those objects hidden in some way and at the start of the game and then you activate/show them through code?

avatar image Oorlfe MacDx · Dec 20, 2018 at 06:54 PM 0
Share

There are many objects, some skinned meshes, some meshes without skins and many of them also have sprites. I am using layers, but they are all rendering through the same camera. they are neither immense, nor tiny, almost everything is at or around a scale of 1 for all three axes. No plugins. they are not hidden, but many objects are instantiated at the start. I am having the camera issue with objects that are there and shown at the start as well as the instantiated ones. All objects appear as they are supposed to in the game mode and are clearly present in scene mode I just can't get close to them.

avatar image tormentoarmagedoom MacDx · Jan 22, 2019 at 10:42 PM 0
Share

I had the same issue:

alt text

AS you can see in the images, a little differents on alttitude of Scene camera (not the object camera, i mean the scene view) makes some of the planes disappear and reappear in other alttitudes. This happens before press play, i mean, there are no scripts running...)

Is not like "at lower than X alttitude, it disapears.. no, its like from 150 to 100 disappear, but higger or lower fromt hat you can see them.

AS you see in the 3rd image, they are over the black background, so they are not behind, they are not rotated...

preguntaunity.jpg (313.3 kB)
avatar image tormentoarmagedoom MacDx · Jan 22, 2019 at 10:49 PM 0
Share

@$$anonymous$$AcDx :

Are they meshes? skinned meshes? sprites? They are 3D planes with Spripes/defaut material

Are you using layers and rendering them through different cameras? No, they are just one over other (3rd image)

Do these objects have immense or tiny scales? 3x1x90

Are you using vanilla Unity or do you have plugins and the like that contain editor scripts that might modify the game view? No, its just Unity 2018 vanilla

Are those objects hidden in some way and at the start of the game and then you activate/show them through code? No, and they are all static "Everything"

1 Reply

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

Answer by Oorlfe · Jan 22, 2019 at 10:48 PM

I figured out how to fix it, but not all of the cause. In scene mode, if I double click on certain objects in the hierarchy the view shoots out very far and when I zoom back in I get the problem. Apparently this has to do with being focused on the object that I double clicked on. To fix it I just need to double click on another object in the hierarchy that it will properly focus on. The object I discovered this much of the cause of the problem on was a UI Image object. in canvas, out of canvas doesn't seem to make a difference and not all UI Image objects are having the issue. So I do not known what makes certain objects have cause this problem.

Comment
Add comment · Show 3 · 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 Oorlfe · Dec 20, 2018 at 06:48 PM 0
Share

Just found that switching off and on the perspective option in the scene view camera also seems to get rid of the problem though I don't know if it will only work sporadically like turning Unity on and off. So, at present its working correctly again, but it would be nice to known what the issue actually is.

avatar image tormentoarmagedoom · Jan 22, 2019 at 10:55 PM 0
Share

HEy @Oorlfe

It does not work for me. If i swap view mode to orthografic I get the same problem.

avatar image Oorlfe tormentoarmagedoom · Jan 22, 2019 at 11:09 PM 0
Share

Sorry, that's as far as I've gotten with the problem. Good luck.

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

97 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

Related Questions

how to let two game objects share the same world coordinations? 0 Answers

Adding GameObject to selected Scene 1 Answer

How do you change size of an object by its units rather than scale? 1 Answer

Bullets follow the ship in 2D Space Shooter game 2 Answers

2D Tilemap Gameobject Brush Script for Editor 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