Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2018.4
2020.1
2020.1.0a2
Issue ID
1180261
Regression
No
[Android] WebCamDevice.kind does not return correct names of cameras when built to Android devices with 2 or more cameras
To reproduce:
1. Build and Run attached project on Android with at least 2 cameras on the back
2. Switch camera by clicking button "Switch camera"
Expected: when a device uses Telephoto (2x zoom) camera, the name of the camera is Telephoto.
Actual: even when a device is using a Telephoto camera, the name is shown as WideAngle.
Reproduced with:2018.4.8f1; 2019.2.4f1; 2019.3.0b1; 2020.1.0a1; 2020.1.0a2
Can't check on 2017.4 due to errors.
Reproduced with devices:
N/A, Samsung Galaxy S10 5G (SM-G977U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00138, Huawei P20 Pro (CLT-L29), Android 8.1.0, CPU: HiSilicon Kirin 970, GPU: Mali-G72
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Not reproduced with devices:
iPhone XS iOS12.1
iPhone X iOS13
https://docs.unity3d.com/2019.1/Documentation/ScriptReference/WebCamKind.html
https://docs.unity3d.com/2019.1/Documentation/ScriptReference/WebCamDevice-kind.html
On Android device, with multiple cameras (WideAngle, Telephoto, etc) camera names are always shown as WideAngle. On iPhone this features works as expected.
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
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
- Scroll offset is framerate-dependent when scrolling with velocity in the Device Simulator
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0a11