MediaPicker (Capture photo) Error.
Platform Target Frameworks:
Nuget Packages:

https://github.com/pulmuone/FilePickerTest
My Sample Source.
this menu "Capture photo" error .
System.NullReferenceException: 'Object reference not set to an instance
of an object.'
Test : VS 2019, Samsung Galaxy
20, Xamarin.Essentials 1.6.0-pre2, Xamarin.Forms 5.0.0.1487-pre1,
2020๋ 10์ 4์ผ (์ผ) ์ค์ 9:28, ์งํ๋ช pulmuone.ji@gmail.com๋์ด ์์ฑ:
https://github.com/xamarin/Essentials/tree/main/Samples
this sample
2020๋ 10์ 3์ผ (ํ ) ์คํ 11:03, Pedro Jesus notifications@github.com๋์ด ์์ฑ:
@pulmuone https://github.com/pulmuone can you attach a sample that
reproduces the issue?โ
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xamarin/Essentials/issues/1411#issuecomment-703108738,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKHGGPLNNRDWKEDUAIGD4BLSI4VMVANCNFSM4SCT3DJA
.
The same thing happens for me on CaptureVideoAsync
Using the vanilla Microsoft sample code. Crashes every time on both CapturePhotoAsync() and CaptureVideoAsync()
Null reference exception.
Using Xamarin Essentials: 1.6.0-pre2
Xamarin Forms: 5.0.0.1558-pre3
Same here.
Xamarin.Essentials 1.6.0-pre2
Xamarin.Forms 4.6.0.1141
Shouldn't this fix it? https://github.com/xamarin/Essentials/pull/1480
Thank you Amr. Works fine for me
@msitsoftware from what I can understand, that PR fixed your issue?
Duplicate of #1397
@mattleibow I tried out #1480 and this works fine for me
Most helpful comment
The same thing happens for me on CaptureVideoAsync