sketchfab / unreal-plugin

301 stars 40 forks source link

UE4Editor-SKGLTFExporter.dylib tries to load minizip from wrong directory on M1 Mac #22

Open qt-dork opened 2 years ago

qt-dork commented 2 years ago

According to the MacOS install instructions, the MacOS Sketchfab plugin looks for minizip under /usr/local/lib/libminizip.dylib. However, as mentioned in the Homebrew docs, Homebrew tries to install stuff in /opt/homebrew on M1 Macs, instead of /usr/local on Intel Macs. As a result, the plugin can't find minizip and crashes.

For reference, homebrew installed minizip on my computer at /opt/homebrew/Cellar/minizip/1.2.11/lib/libminizip.dylib

relaxdomi commented 2 years ago

I have the same issue with my M1 Macbook Air. I can't even open Unreal Engine with the plugin installed. I tried to relocate the file to /usr/local/lib but that also didn't work.