Skip to content

iOS crash when connecting LiveAvatar room with Unity SDK v1.3.7, while v1.3.3 works #295

@linjianfei

Description

@linjianfei

iOS crash when connecting LiveAvatar room with Unity SDK v1.3.7, while v1.3.3 works

We are integrating LiveKit Unity SDK into our existing Unity iOS project to connect to the LiveAvatar service.

Environment

  • Unity iOS project

  • IL2CPP / arm64

  • Real iOS device

  • SDK versions tested:

    • v1.3.3: no crash
    • v1.3.7: crashes
  • The project also contains AR-related native libraries, FFmpeg, Agora RTM, and other iOS native plugins.

Issue

With SDK v1.3.7, the app crashes on iOS when connecting to the LiveAvatar / LiveKit room.

The same project does not crash with SDK v1.3.3.

We have checked the documented iOS integration notes and the current setup appears to follow the required iOS configuration.

The crash happens during the room connection stage, before the LiveAvatar video/audio stream can be used.

Current observation

  • Unity Editor works.
  • iOS device build crashes with SDK v1.3.7.
  • SDK v1.3.3 does not crash in the same project.
  • We are using the SDK specifically to connect to the LiveAvatar service.
  • We have not yet identified whether the crash is caused by a conflict with AR libraries, FFmpeg, Agora RTM, or another native dependency.

Question

Are there any known iOS native library conflicts or WebRTC/FFI changes between SDK v1.3.3 and v1.3.7 that could cause a crash during LiveAvatar room connection?

Also, are there any additional iOS linker settings, native library order requirements, or diagnostics you recommend for Unity iOS projects that include AR libraries, FFmpeg, and Agora RTM together with LiveKit Unity SDK?

Our current workaround is to stay on v1.3.3, but we would prefer to upgrade if the v1.3.7 iOS crash can be resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions