Skip to content

EntryPointNotFoundException: livekit_ffi_initialize on Unity Editor assembly reload when iOS is the active build target #338

Description

@DongYeongJeong

After updating the LiveKit Unity SDK to v1.4.0, the Unity Editor throws an EntryPointNotFoundException for livekit_ffi_initialize whenever scripts are recompiled (domain reload). The error originates from FfiClient.OnAfterAssemblyReload() → InitializeSdk() → NativeMethods.LiveKitInitialize().

This issue was not observed before the v1.4.0 update and occurs without entering Play mode or explicitly calling any LiveKit APIs.

Environment
Item Value
Unity versions tested
6000.5.2f1 (eb73d3b415a1), 6000.0.68f1 (both reproduce the issue)
OS
macOS (darwin 25.5.0, Apple Silicon / arm64)
LiveKit package
io.livekit.livekit-sdk via Git URL: https://github.com/livekit/client-sdk-unity.git
LiveKit SDK version
1.4.0 (issue started after this update)
Package revision
de76e7f
Active build target
iOS
Installation method
Unity Package Manager (Git URL, no local submodule build)

Regression Note
The project worked without this error on earlier LiveKit SDK versions (pre-1.4.0).
The regression appeared immediately after upgrading to v1.4.0.
The same exception reproduces on Unity 6000.5.2f1 and Unity 6000.0.68f1, so this does not appear to be limited to a single Unity 6 patch release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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