Unity-Technologies / Unity-Technologies/NativeRenderingPlugin
Apple Silicon and Unity 2021.3.8f1 - DllNotFoundException: RenderingPlugin assembly:<unknown assembly> type:<unknown type> member:(null)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 943
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
I can't get the plugin to load on Apple Silicon Unity:
arth@mbp: Plugins % lipo -i RenderingPlugin.dylib
Architectures in the fat file: RenderingPlugin.dylib are: x86_64 arm64
I also tried with the .bundle instead of a dylib but no help. I had to remove the VALID_ARCHS user define from the xcode project in order to get arm64 into it, but whatever I do it is not loaded.
Am I missing something here?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the DllNotFoundException in Unity 2021.3.8f1 with the arm64/x86_64 RenderingPlugin.dylib or .bundle, then inspect the Xcode project settings, including VALID_ARCHS. Done means the native rendering plugin loads successfully on Apple Silicon without the exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos, unity
- Domain
- desktop, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100