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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.