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.
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
kimvasquez17
Apr 02, 2022 03:11
Any update on when it will be shipped?