Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.4

2019.4.1f1

2020.2

2021.1

2021.2

Issue ID

1312269

Regression

No

[iOS] Converting WebcamTexture to Texture2D flips the image horizontally

iOS

-

Steps to reproduce:
1. Open the attached project ("1312269.zip")
2. Build and deploy "DemoSCene" scene to an iOS device
3.Tap the screen to switch between Texture2D and WebCamTexture

Expected results: Texture2D keeps the same transform
Actual results: Texture2D is flipped horizontally

Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6

Reproduced on:
- iPad 9.7" 6th gen (14.4)
- iPad Air 2 (11.0.3)
- iPhone XR (13.4.1)
- iPhone 8 Plus (12.0)

Notes:
- Not reproducible on MacStandalone
- Not reproducible on Android

  1. Resolution Note (2021.2.X):

    In iOS Metal, calling WebCamTexture.GetPixels32() undoes the vertical flip in the webcam texture provided by the OS.

Add comment

Log in to post comment