Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
1
Found in
2018.4
2020.1.4f1
2021.1
Issue ID
1283191
Regression
No
[WebGL] WebCamDevice.isFrontFacing always returns false on WebGL Android
Reproduction steps:
1. Create a new project and Import the attached custom Package "frontfacingissue.unitypackage"
2. In the Project window under "Assets/Scenes" open "SampleScene.unity" and switch to WebGL Platform
3. Build for WebGL
4. Use https://app.netlify.com for hosting the WebGL Build
5. Enter the address generated by https://app.netlify.com
6. Navigate to "edge://inspect/#devices" or "chrome://inspect/#devices"
7. Attach Chrome/Edge DevTools to the device and Inspect the loaded Webpage Console
Expected result: WebCamDevice.isFrontFacing returns True or False on WebGL Android
Actual result: WebCamDevice.isFrontFacing always returns False on WebGL Android (See attached Results.png)
Reproduces on: 2018.4.28f1, 2019.4.13f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a4
Reproduced on these devices:
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72
Could not test on these devices(Due to the browser Console not outputting anything):
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
N/A, Lge LG V50 ThinQ (LM-V500N), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Notes:
-If the Console is not outputting anything, a refresh of the page is required.
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
kimvasquez17
Apr 02, 2022 03:11
Any update on when it will be shipped?