Skip to content

Displaying UIImagePickerController sourceTypeCamera after starting PRARManager causes camera visual to freeze #49

@MattMur

Description

@MattMur

Here is the flow that is causing this freezing behavior:

  1. ViewController is loaded
  2. In viewDidLoad method AR data points are initialized and handed to PRARManager to start AR (this works fine)
  3. At any moment user can take picture of their surrounding with UIImagePickerController sourceTypeCamera.
  4. User clicks button to display camera control.
  5. User finishes taking picture OR cancels
  6. At this point, AR Camera feed is frozen. AR Data points are still rendered correctly in place, but the camera feed is stuck and won't refresh.

I've tried stoping PRARManager before displaying camera, and then starting after camera is finished, but no luck. Something about loading UIImagePickerController breaks PRARManager's camera feed.

I'll report if I find any fixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions