Search Issue Tracker
Fixed in 2021.3.25f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.2.0a11
Votes
1
Found in
2022.3.4f1
2023.1.0b8
2023.2.0a6
Issue ID
UUM-30316
Regression
Yes
WebCamTexture has a red filter when using DirectX12 Graphics API
How to reproduce:
1. Open the user-attached project “deletemewebcamtest”
2. Open the “WebcamTexture Test” scene
3. Enter the Play Mode
4. Observe the WebCamTexture on the Cube
Expected result: The WebCamTexture displays the received from the web camera data correctly
Actual result: The WebCamTexture displays the received from the web camera data with the red filter
Reproducible with: 2023.1.0b1, 2023.1.0b8, 2023.2.0a6
Not reproducible with: 2020.3.45f1, 2021.3.20f1, 2022.2.10f1, 2023.1.0a26
Reproducible on: Windows 11 Pro
Note: Also reproducible 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
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
- URP _EMISSION keyword removed from Material when Global Illumination is set to None
- Adding “Entities Graphics Stats Drawer (Script)” Component in Inspector spams “InvalidOperationException: using UnityEngine.Input with Input System active” errors in the Console window
- "New Project" creation window shows only "Project name" instead of "Project Name & Location"
- "Line breaking recursion max threshold hit" error when Overflow is set to Ellipsis with fonts missing the ellipsis character
Resolution Note (fix version 2023.2):
WebCam uses legacy texture formats and produces ARGB textures. Changing it to RGBA caused the YUV conversion algorithm to fail. So texture swizzling was returned to DX12 but this time they should be only performed if the format is a legacy one like this.