Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a3
2018.3.11f1
2019.1.0a1
2019.2.0a1
Issue ID
1144454
Regression
Yes
[iOS] WebCamTexture request size is ignored
To reproduce:
1. Open attached project "WebCamTexReturnsMaxSize.zip"
2. Build for iOS
3. Deploy the Xcode project to an iOS device
Expected result: the smallest camera picture resolution is returned in the console
Actual result: using new WebCamTexture returns the maximum value of the front-facing camera in the console
Reproduced on:
2018.3.0a3 2018.3.13f1 2019.1.0f2 2019.2.0a11
Results:
-w:2736 h:2052
Not reproduced on:
2017.4.25f1 2018.2.21f1
Results:
-w:352 h:288
Devices reproduced on:
-iPad Pro 2018 12.9" iOS 12.1
-iPhone Xs iOS 12.0
Devices not reproduced on:
-iPad Pro 10.5" iOS 11.3 Second Gen
-iPad Air 2 iOS 11.0.3
-iPad 6th Gen iOS 11.4.1
-VLNQA00125, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
-iPhone 8 Plus iOS 12.1.2
-iPhone 8 Plus iOS 12.0
Notes:
-Xcode errors when deploying to device 2018.3.0a1 - 2018.3.0a2, 2018.3.0b1 - 2018.3.0b5
-Doesn't reproduce 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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note (2018.3.X):
Naive selection of a device from a list is not working after Unity added support to iPhone/iPad for Depth Camera.
https://docs.unity3d.com/ScriptReference/WebCamTexture-ctor.html
https://docs.unity3d.com/ScriptReference/WebCamDevice.html
In order to select right device from WebCamTexture.devices do no relay on any assumption about device order but instead check WebCamDevice kind and availableResolutions properties to select correct device.