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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
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.