Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
3
Found in
5.4.1f1
Issue ID
861946
Regression
No
Copying a WebCamTexture to a Texture2D using Graphics.CopyTexture makes the output image gray
[Must have a webcam]
Reproduction steps:
1. Open the attached project in Unity
2. Enter Play mode
3. Press B and C
4. Navigate to C:\Users\[User]\AppData\Local\Temp
5. Open and compare "broken.jpg" and "correct.jpg"
Result: the broken.jpg is gray because Graphics.CopyTexture incorrectly copies a WebCamTexture to Texture2D
Reproducible on: 5.3.7p1, 5.4.4f1, 5.5.0p3, 5.6.0b2
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
- Only the left screen is rendering when using Render Graph Fullscreen Blit in Meta Quest 2
- Context menu with the "Revert" option doesn't appear when pressing the right mouse button on a "Vector2" or "Vector3" property in the Inspector of a custom shader
- Missing Render Feature "Full Screen Pass Render Feature" in any “Universal Renderer Data” asset when upgrading from 2022.3
- Inconsistent ParticleSystemVertexStream.PercentageAlongTrail data range in Trail Texture Modes except "Stretch"
- The Graph Debug Window can be right clicked through and the Node Workspace is manipulated instead
victorho
Dec 16, 2017 22:22
also on 2017.2.f3
Luchianno
Nov 14, 2017 18:44
Same in 2017.2.0f3
Damn, spent so much time because of this.