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
Comments (2)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.