iOS Crash – NSRangeException when removing KVO observer from CAEAGLLayer (ZoomVideoSDK)

Hi Zoom Team,

I’m experiencing a crash in my iOS app when using the Zoom Video SDK. The app throws the following exception:

NSRangeException: Cannot remove an observer <MTLDelegate 0x15eaa5200>
for the key path "bounds" from <CAEAGLLayer 0x15df08980>
because it is not registered as an observer.

Stack Trace (Relevant Part)

NSRangeException: Cannot remove an observer <MTLDelegate 0x15eaa5200> for the key path “bounds” from <CAEAGLLayer 0x15df08980> because it is not registered as an observer.

0  CoreFoundation +0xc5960  ___exceptionPreprocess
1  libobjc.A.dylib +0x31810 _objc_exception_throw
2  Foundation +0x946610     -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:]
3  Foundation +0x946a34     -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:]
4  ZoomVideoSDK +0x22458c8  0x22458c8 (0x224589c + 44)
5  ZoomVideoSDK +0x238a4ac  0x238a4ac (0x238a408 + 164)
6  ZoomVideoSDK +0x238a39c  0x238a39c (0x238a344 + 88)
7  ZoomVideoSDK +0x238a500  0x238a500 (0x238a4f8 + 8)
8  ZoomVideoSDK +0x2371dec  0x2371dec (0x2371da8 + 68)
9  ZoomVideoSDK +0x22d90f8  0x22d90f8 (0x22d90d4 + 36)
10 ZoomVideoSDK +0x24b703c  0x24b703c (0x24b6f00 + 316)
11 ZoomVideoSDK +0x24b7148  0x24b7148 (0x24b7138 + 16)
12 ZoomVideoSDK +0x24c2a14  0x24c2a14 (0x24c29f8 + 28)
13 ZoomVideoSDK +0x24dd2d4  0x24dd2d4 (0x24dd17c + 344)
14 ZoomVideoSDK +0x1ab3b90  0x1ab3b90 (0x1ab3adc + 180)
15 ZoomVideoSDK +0x1ab3840  0x1ab3840 (0x1ab374c + 244)
16 ZoomVideoSDK +0x1ab7054  0x1ab7054 (0x1ab6f40 + 276)
17 ZoomVideoSDK +0x1ac3604  0x1ac3604 (0x1ac3524 + 224)
18 ZoomVideoSDK +0x164dfc4  0x164dfc4 (0x164de14 + 432)
19 ZoomVideoSDK +0x16e3b04  0x16e3b04 (0x16e397c + 392)
20 CoreFoundation +0x4dbfc  _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
21 CoreFoundation +0x4d8bc  ___CFRunLoopDoTimer
22 CoreFoundation +0x4d430  ___CFRunLoopDoTimers
23 CoreFoundation +0x1dab8  ___CFRunLoopRun
24 CoreFoundation +0x1ca68  __CFRunLoopRunSpecificWithOptions
25 GraphicsServices +0x1494 _GSEventRunModal
26 UIKitCore +0x9ddf4       -[UIApplication _run]
27 UIKitCore +0x46e50       _UIApplicationMain
28 UIKitCore +0x17281c      0x188bb781c (0x188bb77b8 + 100)
29 dxapp +0xdf70            0x10000df70 (0x10000defc + 116)
30 dyld +0x4e24             start

Issue Description

We are experiencing an iOS crash when using the Zoom Video SDK in a React Native app.

The crash occurs intermittently when:

  • Leaving the session

  • Users join/leave

Observations

  1. The crash happens on iOS.

  2. It appears related to native rendering teardown of ZoomView.

  3. It seems like the SDK attempts to remove a KVO observer that was:

    • Either already removed

    • Or never added

  4. The issue may be triggered by rapid unmount/remount of ZoomView during:

    • Session leave

Version

"react": "19.1.0",
"react-native": "0.80.2",
"@zoom/react-native-videosdk": "^2.4.5",
Mac: Apple M4 Pro 26.3 (25D125)
Xcode: Version 26.2 (17C52)

Hello Zoom Support Team,

I would like to clarify that the issue I reported is not limited to my implementation. I am experiencing the same problem in the official Zoom Video SDK sample application provided on the Zoom Marketplace:

I tested the sample app without modifying the core logic, and the issue still occurs. This suggests that the problem may be related to the SDK itself rather than my integration.

Could you please review this from your end and let me know if:

This is a known issue?

There are any configuration steps or SDK version updates required?

There is a recommended workaround?

Please let me know if you need any additional logs, screen recordings, or environment details.

Thank you for your support.