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

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. victorho

    Dec 16, 2017 22:22

    also on 2017.2.f3

  2. 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