Search Issue Tracker
By Design
Votes
0
Found in [Package]
4.1.0, 7.0.1
Issue ID
1184044
Regression
No
[HDRP] Scene View is visible in Game View when Camera's Background Type is set to None
How to reproduce:
1. Create a new project with HDRP
2. Select the Main Camera and in the Inspector set the Background Type to None
3. Enter the Play Mode
Expected outcome: In the Game View there should be only things rendered that are in Camera View.
Actual outcome: Scene View is rendered in the Game View.
Reproduced in Unity versions: 2018.4.8f1, 2019.2.4f1, 2019.3.0b3, 2020.1.0a3
Couldn't test with: 2017.4 stream (No Package Manager)
Reproduced in Package versions: 4.1.0, 7.0.1
Notes: Only reproducible on HDRP
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
The reason why the Scene View can be seen in the Game View, in such a case, is because the rendering buffers are shared between Cameras. It is expected if the Scene has only one game Camera that doesn't clear the buffer it's getting the content of whatever Camera that was rendered before.
The use case for setting the Background Type to None is when there are multiple Cameras in the Scene. In such a setup, the first Camera should always clear the buffer with either a "Solid Color" or the "Skybox" (Because the content of the buffer is not yet defined). After that, the subsequent Camera (Order being forced by Camera depth) can re-use the content of the previous one by setting the Background type to None.