question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Steam lib failure to load causes crash on Mac M1

See original GitHub issue

Hello 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 : Capture d’écran 2021-06-21 à 15 16 01 Capture d’écran 2021-06-21 à 15 16 07 Capture d’écran 2021-06-21 à 15 15 55

I will appreciate any help !

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:20 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
karlisscommented, Oct 26, 2021

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?

1reaction
valentin56610commented, Jun 22, 2021

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 !!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Steam Quit Unexpectedly on Mac Monterey/Big Sur ...
Getting the 'Steam quit unexpectedly' or 'steam_osx quit unexpectedly' pop-up? Here are the solutions to fix it and Steam keeps crashing on Mac....
Read more >
Steam Quit Unexpectedly Mac | Fixed in 6 Ways
Besides the above 3 reasons, there are several potential causes, including corrupted Steam files and faults in the operating system. In this ...
Read more >
Civ Vi Steam crashing on Mac OS Ventura (M1 Macbook ...
First time I have been able to load game and complete multiplayer cloud turn in two weeks. I deleted the STEAM download cache...
Read more >
Steam quits unexpectedly on a Mac? Try these fixes
1. Clear Steam cache · Open the Steam application and log in. · Select the main Steam menu > Preferences > Downloads. ·...
Read more >
Game crashes on launch - Apple M1 Mac Monterey
It fails with ERR_HEADER_MISMATCH, which from what I can tell, means the bundled FMOD library version is not the same as the version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found