Search Issue Tracker
By Design
Votes
0
Found in [Package]
4.8.0, 4.9.0
Issue ID
1123528
Regression
Yes
[LWRP] [Regression] Second camera depth-only doesn't work
Steps:
1. Create a new LWRP project / LWRP template project
2. Create a second camera
- set to Depth-only
- set Depth to 1
- set Culling Mask to some layer only e.g. UI
3. Create a cube and set later to UI so that it is rendered by second camera
Actual: The content of Main Camera is not shown, but the blue default clear color + the cube
Expected: The content of Main Camera is shown + the cube
Reproducible in: 2018.3.5f1, 2018.3.4f1
Reproducible in package: 4.9.0, 4.8.0
Not-reproducible in package: 4.6.0, 4.3.0, 4.1.0
-
janhildebrand
Nov 24, 2020 19:10
Is there a solution to this?
-
shubhamswaraj2021
Aug 18, 2020 11:38
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
-
MlleBun
Nov 13, 2019 09:08
I thought that there would be workaround oin 2019.2 on camera stacking with LWRP, but it still doesn't work. Is this on your backlog please ?
-
SantaKlaus
Oct 22, 2019 17:22
Me too: I need LWRP to draw 3D gui elements "on top" of my main scene.
So ... I want to know this too!
-
wechat_os_Qy02hx-iANxRSg-NN5lcGFQtE
Aug 06, 2019 09:56
"There will be a better solution for LWRP to achieve this"
solution is what? -
Stormwalker
Jun 06, 2019 16:35
Fundamentally this is a UI problem, if you need to render UI either not through Canvas (since canvas itself introduces so many performance problems to the point it almost should not be used,) or with 3D/particle effects/etc then you need the UI to be in camera space. While one could attach the UI to the main camera this opens a whole new can of worms of operating at the wrong scale, or clipping through environment geometry. The solution of rendering to a render texture is both memory intensive, and limiting, since blending such as additive cannot be done to the background. Ultimately this is just catastrophic for advanced UI effects.
-
Madix
May 14, 2019 23:17
Has a resolution been found as I have not been able to figure it out? My project relies on Camera Depth only.
-
unity_5fpsmegasupergiperprogramer
May 06, 2019 07:11
I see that it is corrected to "Unity 2019.2", please correct in "Unity 2019.1".
-
unity_5fpsmegasupergiperprogramer
May 06, 2019 06:08
+
How to solve this problem??
"CAMERA DEPTH-ONLY DOESN'T WORK" -
LukWol
Apr 10, 2019 18:52
Are there any examples how to set it up in LWRP (for now)?
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note:
This feature has been removed due to camera stacking is producing lots of issues. There will be a better solution for LWRP to achieve this.