Steam lib failure to load causes crash on Mac M1
See original GitHub issueHello guys, first timer here
My game has been for a year on Steam and running fine everywhere, but lately M1 Macs cannot run it anymore.
If I run the game WITHOUT launching it through Steam, it works. If I use Steam to launch the game, I get a crash and this is the text with the crash.
The lines you will be interested in probably are the following :
Dyld Error Message: could not load inserted library '/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib' because no suitable image found. Did find: /Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: no matching architecture in universal wrapper /Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: stat() failed with errno=1
And here’s the full crash report :
`Process: Hex of Steel [2629] Path: /Users/USER/Library/Application Support/Steam/*/Hex of Steel.app/Contents/MacOS/Hex of Steel Identifier: Valentinstudio Version: 5.5.0 (1) Code Type: ARM-64 (Native) Parent Process: ??? [1] Responsible: Hex of Steel [2629] User ID: 501
Date/Time: 2021-06-21 15:03:23.526 +0200 OS Version: macOS 11.4 (20F71) Report Version: 12 Anonymous UUID: F3B625C2-23ED-8353-D18F-EF715FDF0E59
Time Awake Since Boot: 19000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x9] <unknown>
Application Specific Information: dyld: launch, loading dependent libraries DYLD_LIBRARY_PATH= DYLD_INSERT_LIBRARIES=/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib:/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer.dylib:/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer32.dylib DYLD_FALLBACK_LIBRARY_PATH=/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS:/Users/juleslievre/Library/Application Support/Steam/steamapps/common/Hex of Steel:/Users/juleslievre/Library/Application Support/Steam/steamapps/common/Hex of Steel/bin:/usr/local/lib:/lib:/usr/lib
Dyld Error Message: could not load inserted library ‘/Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib’ because no suitable image found. Did find: /Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: no matching architecture in universal wrapper /Users/juleslievre/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: stat() failed with errno=1
Binary Images: 0x1024c0000 - 0x1024c3fff +Valentinstudio (5.5.0 - 1) <DEF4DD2F-8142-39D2-8BD8-BEB64BACC720> /Users/USER/Library/Application Support/Steam/*/Hex of Steel.app/Contents/MacOS/Hex of Steel 0x1024f8000 - 0x102577fff dyld (852) <CF624584-51D6-329D-91C5-6BEDFADFB2D2> /usr/lib/dyld
Model: Macmini9,1, BootROM 6723.120.36, proc 8:4:4 processors, 16 GB, SMC Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin Memory Module: LPDDR4 AirPort: spairport_wireless_card_type_airport_extreme, wl0: Apr 28 2021 19:53:33 version 18.50.40.7.7.8.119 FWID 01-e6894c69 Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en1 USB Device: USB 3.1 Bus USB Device: USB 3.1 Bus USB Device: USB 3.0 Bus USB Device: CORSAIR HARPOON RGB WIRELESS Gaming Mouse Thunderbolt Bus: Mac mini, Apple Inc. Thunderbolt Bus: Mac mini, Apple Inc.`
From my understanding, the game crashes because of the library, how can I do so that the doesn’t happen ? I tried building with Unity for Apple Silicon only, to no avail, still crashes.
Is there a special setting I should be choosing or something ? From the inspector on Unity I have this :
I will appreciate any help !
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (1 by maintainers)
Top GitHub Comments
Supposedly Valve finally provides version of steamwork dylibs which include arm64 build as well https://store.steampowered.com/news/group/4145017/view/2984186817523157398 . Has anyone tried it already?
No problems ! I’d be more than happy if this would help other people as well, took me a month to get it working back !!