Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Crash at second time to present camera view #86

Open
ljhao24 opened this issue Jan 27, 2025 · 0 comments
Open

[BUG]Crash at second time to present camera view #86

ljhao24 opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels

Comments

@ljhao24
Copy link

ljhao24 commented Jan 27, 2025

Expected Behavior

Show camera view, close the view, re-open the view.

Current Behavior

Show camera view, close the view, re-open the view but crash.

cameraView.layer.addSublayer(cameraLayer)
Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value

Code Sample

Just the most simple way to create a MCamera() and .startSession()

Screenshots

Image

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Name Version
SDK e.g. 3.0.1
Xcode e.g. 16.1
Operating System e.g. iOS 18.2
Device e.g. iPhone 13 Pro Max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants