Skip to content

[iOS] [Android] Camera preview sometimes freezes on first frame when using AVPro CaptureFromTexture with WebCamTexture #502

@DuongDucChinh

Description

@DuongDucChinh

Unity version

2022.3.62f3

Unity editor platform

Windows

AVPro Movie Capture edition

Full

AVPro Movie Capture Version

AVPro Movie Capture - Mobile Edition 5.3.5

Xcode version being used to build your Unity project.

16.2

Which iOS version(s) are you using?

18.6

Hardware

iphone 14,14promax,Xiaomi 14T Pro

Which capture component are you using?

Capture From Texture

Capture mode

Realtime

Which output mode are you using?

Video file

Video codecs

H264

Audio source

Microphone

Audio codecs

AAC

Any other component configuration

No response

The issue

We are experiencing an issue on iOS,Android where the camera preview sometimes freezes on the first frame when using AVPro Movie Capture (CaptureFromTexture) together with Unity WebCamTexture.

The camera starts successfully and WebCamTexture.Play() is called, but on some devices the preview texture appears frozen until the application is backgrounded and resumed once.

After an OnApplicationPause(false) event occurs (app resume), the camera preview immediately starts updating normally.

This behaviour suggests that the camera pipeline may not produce the first frame correctly when the session starts.

Log output

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions