Search Issue Tracker
Fixed in 5.14.0 & 6.8.0 & 7.0.0
Fixed in 6.8.0
Votes
15
Found in [Package]
5.7.2
Issue ID
1156134
Regression
Yes
[LWRP] Camera with target render texture does not respect transparent background color in Windows standalone build
How to reproduce:
1. Open attached project "TransparentRenderTexture.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe the Cube in Game View (the Cube in the middle has a blue background with alpha set to zero/background is invisible)
4. Build and Run
5. Observe the Cube in Standalone
Expected result: the cube background is invisible due to the alpha being zero
Actual result: a blue background of the cube render texture is visible even though alpha is set to zero
Reproducible with: 2019.1.4f1 (5.7.2, 5.13.0), 2019.2.0b4 (6.5.2), 2019.3.0a4 (5.13.0, 6.5.3)
Not reproducible with: 2018.1.9f2 (1.1.11-preview), 2018.2.21f1 (3.0.0-preview), 2018.4.1f1 (4.10.0-preview)
Could not test with: 2017.4 (LWRP was not yet supported)
-
act10n
Sep 03, 2019 15:35
Issue still exists
-
rosen_rusinov
Aug 28, 2019 13:30
Issue still exists in Unity 2019.2.2f1 and LWRP 6.9.1 (Tested on iOS)
-
actislav
Jun 03, 2019 07:38
mobile platforms too (android, ios checked)
-
skydestinies
May 29, 2019 18:09
I'm running into this issue as well. Happens on Mac too.
I suspect it has something to do with the "Opaque Texture" setting being checked in the LWRP asset settings. When I uncheck that, the built version has a transparent background again.What it looks like: https://forum.unity.com/threads/camera-rendered-thumbnail-has-opaque-background-only-in-built-player.682411/
-
Pimpace
May 24, 2019 15:12
This happens all platform standalone build.
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
- [Android] Crash on vendor/lib64/egl/libGLES_mali.so when Graphics Jobs(Experimental) is disabled and the Player is running on the Google Pixel 6 with the March security patch installed
- Profiler does not profile after building the Project with Autoconnect Profiler Option enabled
- Editor slows down when selecting a script with the [HideInInspector] attribute on arrays with dynamic values
- [XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start
- NullReferenceException floods the Console when Previewing Probe Adjustments before Probe Volume Baking is finished, Prove Volume Baking hangs
Resolution Note (fix version 5.14.0 & 6.8.0 & 7.0.0):
The alpha of a render texture is now not cleared when assigned to a camera in built players, this was due to the FinalBlit Pass