Search Issue Tracker
By Design
Votes
0
Found in
2022.3.22f1
2023.2.16f1
6000.0.0b13
6000.1.0a7
6000.2.0a1
6000.3.0a1
7000.0.0a1
Issue ID
UUM-67402
Regression
No
[URP][Comp] SetGlobalTexture alpha channel is 1 when observing the Game view
How to reproduce:
1. Open the attached project “URP Feature Examples.zip“
2. Open the “Assets/Samples/Universal RP/14.0.9/Custom Samples/Custom Renderer Feature/CustomRFScene.unity“ Scene
3. Observe the Game view
Expected result: White GameObjects are visible on a black background
Actual result: The entire view is white
Reproducible with: 2022.3.22f1, 2023.2.16f1, 6000.0.0b13
Couldn’t test with: 2021.3.36f1 (Errors in the Console)
Reproducible on: macOS 14.4 Sonoma (Intel)
Not reproducible on: No other environment tested
Note: The screen is purple in Player
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
The custom render feature in the repro allocates the texture with a format which does not have an alpha channel. Allocating with a format that does have a alpha channel fixes the issue. E.g. add
colorDesc.colorFormat = RenderTextureFormat.ARGB32;
before
RenderingUtils.ReAllocateIfNeeded(ref rtCustomColor, colorDesc, name: settings.colorTargetDestinationID);
in the custom render feature
Resolution Note:
_