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
0
Question by theOtherHolmes · Apr 27, 2017 at 05:50 AM · camerascamera viewportrender order

Camera rendering order no longer works upon upgrading to 5.6

I have a project with several "game" cameras, each one showing your character from a different perspective. These cameras are all visible simultaneously using a script that sets their pixelRects, so they don't overlap. Then, I have a bunch of UI elements on top of that, broken into two canvases. Both canvases are Screen Space - Camera to take advantage of some depth effects.

All of the "game" cameras have a Depth property of 0 (zero). The two UI cameras (there's one for each canvas) are set to Depths 12 and 13, respectively. Before 5.6, this worked as expected: the UI rendered on top of all of the game views, and the UI on the Camera with 13-depth rendered on top of the UI with 12-depth.

Ever since upgrading to 5.6, Unity renders the 0-depth cameras on top of the UI elements, blocking them out. I have checked using Frame Debugger and, yes, Unity really is drawing the 0-depth cameras on top of the 12- and 13-depth cameras. But the 12- and 13-depth camera still render in the right order vis-a-vis each other. In other words, the 13-depth UI elements are still on top of the 12-depth UI elements, but the 0-depth game camera are on top of all of them.

I have changed the 0-depth cameras to all sort of other less-than-12 depth settings, negative and positive, with no change. (Also no change when I set the 0-depth cameras to 12 or higher.)

Any suggestions? Is this a bug? Is there a way I can force Unity to re-examine the camera depths and render them in the right order?

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
0

Answer by theOtherHolmes · Apr 28, 2017 at 03:34 AM

Looks like this is a bug

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

65 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

Related Questions

unable to switch between camera angle in the game mode when played animation 0 Answers

3 camera views with triangle shape in the same screen 0 Answers

Can we have multiple cameras open at the same time in a scene? 1 Answer

Raycast with multiple camera's in scene 0 Answers

Platformer - Pan camera when player moves near the edges? (c#) 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