Jump to content

Game Doesn't load on mac m1 crashes upon startup and mac error


DevonTheMiner
  • Branch: Live Branch Version: OSX Fixed

Trying to open they gives me a mac error:

Process:               Oxygen Not Included [4432]
Path:                  /Users/USER/Library/Application Support/Steam/*/OxygenNotIncluded.app/Contents/MacOS/Oxygen Not Included
Identifier:            unity.Klei.Oxygen Not Included
Version:               1.0 (0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Oxygen Not Included [4432]
User ID:               501

Date/Time:             2021-06-25 15:11:10.436 -0400
OS Version:            macOS 11.4 (20F71)
Report Version:        12
Anonymous UUID:        D6EBBA59-DB71-32C5-3B74-7F2CF33506BC


Time Awake Since Boot: 10000 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/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib:/Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer.dylib:/Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer32.dylib
DYLD_FALLBACK_LIBRARY_PATH=/Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS:/Users/andrewmcclure/Library/Application Support/Steam/steamapps/common/OxygenNotIncluded:/Users/andrewmcclure/Library/Application Support/Steam/steamapps/common/OxygenNotIncluded/bin:/usr/local/lib:/lib:/usr/lib

Dyld Error Message:
  could not load inserted library '/Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib' because no suitable image found.  Did find:
    /Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: no matching architecture in universal wrapper
    /Users/andrewmcclure/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: stat() failed with errno=1

Binary Images:
       0x10222c000 -        0x10222ffff +unity.Klei.Oxygen Not Included (1.0 - 0) <DEF4DD2F-8142-39D2-8BD8-BEB64BACC720> /Users/USER/Library/Application Support/Steam/*/OxygenNotIncluded.app/Contents/MacOS/Oxygen Not Included
       0x1025d0000 -        0x10264ffff  dyld (852) <CF624584-51D6-329D-91C5-6BEDFADFB2D2> /usr/lib/dyld

Model: MacBookPro17,1, BootROM 6723.120.36, proc 8:4:4 processors, 8 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, en0
USB Device: USB 3.1 Bus
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: Corsair K70R Gaming Keyboard
USB Device: Game Mouse
USB Device: USB 3.1 Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
 


Steps to Reproduce

1: Start the game on steam

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

You will likely need to open the game using Rosetta. You can try these steps.

  1. Located the game file in: ~/Library/Application Support/Steam/steamapps/common/
  2. Right-clicked the game file (OxygenNotIncluded.app) and selected "Get Info"
  3. Selected the "Open in Rosetta" check box.
  4. Restart your computer
  • Like 2
  • Thanks 1

Share this comment


Link to comment
Share on other sites

9 minutes ago, EricKlei said:

You will likely need to open the game using Rosetta. You can try these steps.

  1. Located the game file in: ~/Library/Application Support/Steam/steamapps/common/
  2. Right-clicked the game file (OxygenNotIncluded.app) and selected "Get Info"
  3. Selected the "Open in Rosetta" check box.
  4. Restart your computer

Running with Rosetta fixed the issue for me! Thanks Eric

  • Like 1

Share this comment


Link to comment
Share on other sites

On 6/25/2021 at 12:51 PM, kirani said:

Running with Rosetta fixed the issue for me! Thanks Eric

That's great! Did it ask you to install Rosetta or did you already have it installed?

On 6/25/2021 at 12:44 PM, DevonTheMiner said:

there is no box that says this

Screen Shot 2021-06-25 at 3.44.13 PM.png

Edit: is there a way I could make it?

Apparently some M1 Macs have Rosetta removed, not sure if that applies to you. 

Edited by EricKlei
No evidence that Rosetta support has been removed.
  • Thanks 1

Share this comment


Link to comment
Share on other sites

17 minutes ago, EricKlei said:

That's great! Did it ask you to install Rosetta or did you already have it installed?

Apparently some M1 Macs have Rosetta removed, not sure if that applies to you.

Think mine does not have rosetta :/

Edited by DevonTheMiner

Share this comment


Link to comment
Share on other sites

4 hours ago, DevonTheMiner said:

any other solutions 

try this in terminal softwareupdate --install-rosetta --agree-to-license

Share this comment


Link to comment
Share on other sites

8 hours ago, EricKlei said:

That's great! Did it ask you to install Rosetta or did you already have it installed?

I already had it installed. The system asked me to install it when I installed steam.

Share this comment


Link to comment
Share on other sites

12 hours ago, gabberworld said:

try this in terminal softwareupdate --install-rosetta --agree-to-license

Still don't see the "run in rosetta button" should I restart?

Edit: Still don't see the "run in rosetta button

Screen Shot 2021-06-26 at 11.57.02 AM.png

Edited by DevonTheMiner

Share this comment


Link to comment
Share on other sites

I have the same issues.

Quote

Process:               Oxygen Not Included [1406]
Path:                  /Users/USER/Library/Application Support/Steam/*/OxygenNotIncluded.app/Contents/MacOS/Oxygen Not Included
Identifier:            unity.Klei.Oxygen Not Included
Version:               1.0 (0)
Code Type:             ARM-64 (Native)
Parent Process:        ??? [1]
Responsible:           Oxygen Not Included [1406]
User ID:               501

Date/Time:             2021-06-26 11:57:19.658 -0700
OS Version:            macOS 11.4 (20F71)
Report Version:        12
Anonymous UUID:        1AA78689-6AF9-0E8D-C332-570DDD3A916E

Sleep/Wake UUID:       CBACC5D2-E4A1-4406-847D-CCA33BE5E111

Time Awake Since Boot: 140000 seconds
Time Since Wake:       1600 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/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib:/Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer.dylib:/Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/gameoverlayrenderer32.dylib
DYLD_FALLBACK_LIBRARY_PATH=/Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS:/Users/USER/Library/Application Support/Steam/steamapps/common/OxygenNotIncluded:/Users/USER/Library/Application Support/Steam/steamapps/common/OxygenNotIncluded/bin:/usr/local/lib:/lib:/usr/lib

Dyld Error Message:
  could not load inserted library '/Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib' because no suitable image found.  Did find:
    /Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: no matching architecture in universal wrapper
    /Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: stat() failed with errno=1

Binary Images:
       0x1026ec000 -        0x1026effff +unity.Klei.Oxygen Not Included (1.0 - 0) <DEF4DD2F-8142-39D2-8BD8-BEB64BACC720> /Users/USER/Library/Application Support/Steam/*/OxygenNotIncluded.app/Contents/MacOS/Oxygen Not Included
       0x102998000 -        0x102a17fff  dyld (852) <CF624584-51D6-329D-91C5-6BEDFADFB2D2> /usr/lib/dyld

 

 

Share this comment


Link to comment
Share on other sites

Binaries in modern MacOS can have two versions inside - ARM64 and x86-64. By default, if binary does not have ARM64 version, it runs under Rosetta automatically.

I think that either:

  1. Klei tried to make an ARM64 build, but its not ready yet.
  2. Binary is built with wrong flags, so we have a dummy/incorrect ARM64 version inside.

UPD: @EricKlei

Yep, guys, you have arm64 version in the Universal binary. Just please disable it until it will be working.

Here is Apple manual on how to manage Universal builds: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary

Quote

MacOS % pwd
/Users/USER/Library/Application Support/Steam/steamapps/common/OxygenNotIncluded/OxygenNotIncluded.app/Contents/MacOS
MacOS % file Oxygen\ Not\ Included
Oxygen Not Included: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
Oxygen Not Included (for architecture x86_64):    Mach-O 64-bit executable x86_64
Oxygen Not Included (for architecture arm64):    Mach-O 64-bit executable arm64

 

Edited by Chudsaviet

Share this comment


Link to comment
Share on other sites

1 hour ago, Chudsaviet said:

Yep, guys, you have arm64 version in the Universal binary. Just please disable it until it will be working.

We figured this out too late on Friday to make a patch so it will go out on Monday. Sorry for the inconvenience!

  • Like 1
  • Thanks 1
  • Big Ups 1
  • Sad Dupe 1

Share this comment


Link to comment
Share on other sites

On 6/26/2021 at 4:25 PM, EricKlei said:

We figured this out too late on Friday to make a patch so it will go out on Monday. Sorry for the inconvenience!

Thanks for that. This has wasted a monumental amount of time this weekend before finding your response on this thread.  I get that this is early access, and maybe M1 Macs aren't a huge part of your player base... but why no announcement or something when you all realized that you all killed the DLC for anyone on an M1 Mac? 

Edited by Sienar
typo

Share this comment


Link to comment
Share on other sites

On 6/26/2021 at 4:25 PM, EricKlei said:

We figured this out too late on Friday to make a patch so it will go out on Monday. Sorry for the inconvenience!

that's awesome!

Share this comment


Link to comment
Share on other sites

More investigation:

It looks like Klei actually did the arm64 build, but Steam has no arm64 libraries, so it can't load:

Quote

Dyld Error Message:
  could not load inserted library '/Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib' because no suitable image found.  Did find:
    /Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: no matching architecture in universal wrapper
    /Users/USER/Library/Application Support/Steam/Steam.AppBundle/Steam/Contents/MacOS/steamloader.dylib: stat() failed with errno=1

Good news is that native version CPU code can be 20-30% faster.

I understand that automated testing on all architectures, OS, and game stores is not easy, so I wouldn't blame Klei devs much.

35 minutes ago, Sienar said:

Thanks for that. This has wasted a monumental amount of time this weekend before finding your response on this thread.  I get that this is early access, and maybe M1 Macs aren't a huge part of your player base... but why no announcement or something when you all realized that you all killed the DLC for anyone on an M1 Mac? 

Human error does happen.

Share this comment


Link to comment
Share on other sites

On 6/25/2021 at 3:54 PM, DevonTheMiner said:

any other solutions 

@DevonTheMiner could you try today's update and let me know if you're able to launch the game?

 

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...