Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
739 stars 185 forks source link

fix: Fix crash on Android pixel4a with vulkan #874

Closed karasusan closed 1 year ago

karasusan commented 1 year ago

This PR below didn't improve the crash issue. https://github.com/Unity-Technologies/com.unity.webrtc/pull/867

I reverted the previous changes and I checked the issue carefully, and found the cause of the issue is the status of fences for managing copy texture.

We needed to consider the error processing when the fence is unintended status. The PR changes not using the texture if the fence is failed to reset its signal.