Search Issue Tracker

Fixed in 2019.1

Fixed in 2018.3

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

Graphics - General

-

[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)

  1. Ea8d1a248229841eede4ad78febcbaea?d=mm

    victorho

    Dec 16, 2017 22:22

    also on 2017.2.f3

  2. Ac0b7a4fc66f61a707a4bba78e9082b1?d=mm

    Luchianno

    Nov 14, 2017 18:44

    Same in 2017.2.0f3

    Damn, spent so much time because of this.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.