PlayEveryWare / eos_plugin_for_unity

Repository for PlayEveryWare's EOS Plugin for Unity, bringing the functionality of Epic Online Services to the Unity Game Engine.
https://eospluginforunity.playeveryware.com
297 stars 53 forks source link

Error Loading in Unity on macOS ARM #141

Closed ETdoFresh closed 2 years ago

ETdoFresh commented 2 years ago

Describe the bug Hello! I understand Mac support is not yet available. However, I do see progress towards this feature. I just wanted to log the issue that I am unable to load the plugin via my Mac Book Pro 2021 Apple M1 Pro using Unity 2022.1.10f1 (Silicon).

When I open the editor and receive the following Unity Warning: Plugins: Couldn't open /Users/etgarcia/Desktop/MyProject/Packages/com.playeveryware.eos_plugin_for_unity_upm@2.1.4/Runtime/macOS/libDLLH_macos.dylib, error: dlopen(/Users/etgarcia/Desktop/MyProject/Packages/com.playeveryware.eos_plugin_for_unity_upm@2.1.4/Runtime/macOS/libDLLH_macos.dylib, 0x0002): tried: '/Users/etgarcia/Desktop/MyProject/Packages/com.playeveryware.eos_plugin_for_unity_upm@2.1.4/Runtime/macOS/libDLLH_macos.dylib' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)))

Emphasis on libDLLH_macos.dylib and have x86_64 but need arm64e. If there is anything I can do to help compile a version of this dylib, please let me know. Thanks so much for looking! :)

To Reproduce Steps to reproduce the behavior:

  1. Clone repository into project.
  2. Open Unity Editor on macOS ARM.

Expected behavior No warning to appear when opening the editor.

Desktop (please complete the following information):

andrew-hirata-playeveryware commented 2 years ago

Hello! The EOS SDK version that is integrated doesn't support ARM on macOS so we also don't support it. That being said, I think the 1.15.2 EOS SDK does support ARM, so in a future version of the Plugin, we will probably support both x86_64 and ARM64 on macOS. Either way I'll write up something so that we know we need to do that for macOS before we officially launch the platform.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open for 7 days with no activity.

ETdoFresh commented 2 years ago

Hey all, before I close this out, I just wanted to leave some steps how I got the preview to work before MacOSX is officially supported.