Build fails with console errors when Scripting Backend IL2CPP is selected
Unity: IL2CPP
As Designed
2023.2.X
2023.1.X
2022.3.X
2021.3.X
Unity does not support native static libraries. See https://docs.unity3d.com/Manual/PluginsForDesktop.html for details about native library support.
Reproduction steps:
1. Open the attached “PluginsTest” project
2. Build the Player (File > Build And Run)
Expected result: The Build is successful
Actual result: The Build fails with “Undefined symbols for architecture arm64:” and “Undefined symbols for architecture x86_64:” console errors