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
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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2021.2.X):
In iOS Metal, calling WebCamTexture.GetPixels32() undoes the vertical flip in the webcam texture provided by the OS.