Symptoms:
- My app is running fine while in the Editor. However, when building and running a Mac executable, there is no video rendering.
Cause:
From Unity 2020.3 and higher, the Apple M1 CPU is supported. However, the default setting in the agoraSdkCWrapper meta property is the Intel CPU. If the build target is set to Intel+Apple Architecture, the built app fails to load the DLL.
Resolution:
In the Unity Inspector, open Platform Settings and set 'Assets/AgoraEngine/macOS/agoraSdkCWrapper.bundle' to Any CPU.
More Information:
For more details, see the Readme file included in the Agora SDK.
Comments
0 comments
Please sign in to leave a comment.