Search Issue Tracker
Fixed
Fixed in 2021.3.25f1, 2022.3.6f1, 2023.1.0b14, 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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2023.2.0a11):
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.