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
3
Question by Ishkur · Dec 09, 2015 at 09:55 PM · cameracamera viewport

Camera preview only shows skybox

The scene in editor and in game displays just fine but the Camera Preview in editor only shows the skybox and no other game objects.

Any idea why the preview isn't rending anything?

Comment
Add comment · Show 5
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 Jessespike · Dec 09, 2015 at 10:15 PM 0
Share

Is the camera's properties set appropriately? Culling $$anonymous$$ask set to Everything, FoV, Clipping planes, etc.

Do you have multiple cameras in the scene?

There's really not much info in your question, usually when an object is not visible, it's because the object has been assigned a layer that the camera is culling. Or if you have multiple cameras, you could have a camera unintentionally overriding the other cameras. You'll need to update the Depth property or disable the extra camera.

avatar image Ishkur Jessespike · Dec 09, 2015 at 10:22 PM 0
Share

Layer is set to default, cull mask to everything, camera is in orthographic mode so no FoV. Clipping planes have been adjusted and the camera moved further/closer to objects to no effect.

This is in a fresh, new project and scene with the default camera. No other cameras on scene. Everything displays normally during play, it's only the camera preview viewport that refuses to render anything.

avatar image Jessespike · Dec 09, 2015 at 10:26 PM 0
Share

Are your GameObjects part of the UI? If so, you can select the Canvas and set Render $$anonymous$$ode to Screen Space - Camera, hook up the camera reference and then set the Render $$anonymous$$ode to World Space. That would make UI objects visible in the preview.

Though, I don't really like that solution. If it's just UI objects, I would just ignore the preview and use the rendered game window.

avatar image Ishkur Jessespike · Dec 09, 2015 at 11:03 PM 0
Share

Only three game objects in the scene, a terrain with texture and two default untextured cubes, there are no UI game objects or a UI canvas to speak of.

avatar image doug1862 · Mar 11, 2016 at 02:46 AM 1
Share

I'm seeing the same thing as the OP. When I set Clear Flags for the main camera to "Don't Clear", the skybox, which was filling all of the camera preview goes away and the game objects (a plane, sphere and cube) show up, now with black everywhere the skybox used to be.

6 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by gregroberts · Jan 16, 2017 at 08:57 PM

exact same challenge here. changed camera render settings from "use graphics settings" to "legacy deferred" and now it previews like a champ.

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
1

Answer by londonwill · Apr 19, 2017 at 09:12 AM

same here. changed camera render settings from "use graphics settings" to "legacy deferred" and now it works - must be some type of minor bug in default settings

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 Hags0000 · Oct 04, 2016 at 05:42 PM

I had this issue as well, and there was a 2nd camera hidden in the hierarchy I didn't know existed. I removed it and it solved the problem.

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 Tokonawa · Jan 12, 2017 at 03:47 PM

Check out if your camera's Z position is NOT zero. Set it for example -30. It helped me.

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 Stash329 · Feb 26, 2017 at 07:13 PM

Try checking if your Depth value in the camera is set to > 0

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
  • 1
  • 2
  • ›

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

47 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

Related Questions

FPS Camera Position full Body 0 Answers

Camera following player in Tutorial Demo (Roll A Ball) 0 Answers

Camera display specifications,2D visuals in a 3D game with camera issues 0 Answers

Camera viewport should be square and pixel-perfect, regardless of player aspect ratio. 0 Answers

Keep camera perfectly in box and scaled to fit view 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