flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

calling controller.pause() on iOS 16 doesn't work

Open mohammadAlgh opened this issue 2 years ago • 3 comments

Describe the bug when calling controller.pause on iOS nothing happens the player is not paused

To Reproduce Steps to reproduce the behavior:

  1. Go to unity widget
  2. Click on add pause call in on back call
  3. Go back from the unity widget
  4. You can still see the camera permission which indicates the player is not paused

Expected behavior The player should be paused so when you go back you don't see the green dot for camera permission on top.

Unity

  • OS: MacOS 13
  • Version: v2021.3.3f1

Flutter Unity Widget

  • Version [2022.2.0]

Mobil Phone

  • Device: iPhone11
  • OS: iOS16.0.1

If anyone faced this issue please advise.

@timbotimbo @juicycleff

mohammadAlgh avatar Jan 24 '23 08:01 mohammadAlgh

I ran into the same problem today.

Unity 2021.3 iOS 16.3.1 also 12.5.5 Flutter 3.3.9

TJRoger avatar Mar 06 '23 11:03 TJRoger

Hi @mohammadAlgh, Do you have any update for this? The controller can not pause Unity so we got a problem when using the camera for taking an image

jimmy-to-goldenowl avatar Jul 20 '23 05:07 jimmy-to-goldenowl

Hi @mohammadAlgh, Do you have any update for this? The controller can not pause Unity so we got a problem when using the camera for taking an image

same issue when app come back from background then Camera2: CameraDevice disconnected.

0x01001 avatar Aug 02 '23 11:08 0x01001