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
- Joint Physics result in unexpected behaviors when used for articulated vehicles like buses or trucks
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts which worked with TMP Font Asset Creator
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