Open cyliax opened 3 years ago
Both AN_Camera.CaptureImage and UM_Application.CameraService.TakePicture
are both not working on Android OS 11.
AndroidNative: Unity: [Async] Sent to Unity ->: {"m_media":[],"m_error":{"m_code":100,"m_message":"Error creating directory: /storage/emulated/0/bichooser"}}
Could be related.
Confirming that we cannot get CameraService to take video or picture on android 11
As a workaround: I'm working with a mix of 2021.2 (iOS) and 2021.1 (Android) so far, import Android plugin first. This is working without breaking changes in code or issues when recording videos.
It also has problems when built with unity 2019.4.29 LTS
As a workaround: I'm working with a mix of 2021.2 (iOS) and 2021.1 (Android) so far, import Android plugin first. This is working without breaking changes in code or issues when recording videos.
Not sure what you mean, I tried re-importing the Android plug in and it doesn't work still.
I'm talking about Android Native Pro and iOS Native Pro versions not Unity versions. I meant using an older Android Native Pro combined with the current iOS Native Pro was working for me for now.
I'm talking about Android Native Pro and iOS Native Pro versions not Unity versions. I meant using an older Android Native Pro combined with the current iOS Native Pro was working for me for now.
Any idea on when a fix will be published? Can you link me to a working Android version?
Unfortunately I can't provide you links to our internal archive. Please ask the developers if they can provide you the older version cause I'm not the publisher and can't check your license.
Unfortunately I can't provide you links to our internal archive. Please ask the developers if they can provide you the older version cause I'm not the publisher and can't check your license.
I'm happy to wait if a fix has been found and is close to being released?
Any update?
I need this fix too
Android 6/10/?: I've updated to 2021.2 and I do not get the video path anymore. What I get instead is a thumbnail jpg path:
AN_Camera.CaptureVideo((result) => OnMediaCaptured(result));
result.Media.Path is somthing like:
/data/user/0/de.kids_interactive.OurApp/files/JPEG_20210716_1124141403802103.jpg
The plugin is showing the native video camera and you can capture a movie.
iOS 12.4.5: Native video view starts but when you start to capture, it stops immediately and you get a video with 1 frame length. But at least it returns a video.
iOS 14.5.1 is working.
So why is that. Was working before. Can you help us. Thank you.