#[SPZ2-6232] [1.0-?] [Linux] Instant crash on startup after removing monitor last played

39 messages Β· Page 1 of 1 (latest)

solar plaza
#

I was using a temporary second monitor and placed the game there. Upon removing the monitor, the game immediately crashed. Attempting to start the game after that starts and then crashes before it gets past the black screen. I have not tested whether re-plugging the second monitor fixes this as I don't have the monitor with me.

I don't know what the game version is because the game doesn't open, but it is latest as of time of posting on steam, without any betas or other branches.

OS: Arch Linux x86_64
Kernel: Linux 7.0.3-1-cachyos
WM: niri 26.04 (Wayland)
CPU: Intel(R) Core(TM) Ultra 7 255H (16) @ 4.40 GHz
GPU: Intel Arc Pro 130T/140T @ 2.25 GHz [Integrated]

random parrotBOT
#

Thank you for reporting this bug! Our team will review your report soon.
Feel free to add more details in follow-up messages β€” we're also scanning for duplicate reports automatically now.
πŸ“¨ There are currently 76 reports awaiting team review. Due to the high volume, it may take a little longer for us to get to yours.
⏰ Our team is off on weekends, so it may take a bit longer for us to review your report. Thank you for your patience!

πŸ’Ύ Savegame files (.spz2) are very helpful if relevant to the issue!
Export via Main Menu β†’ Play β†’ click the download icon on the relevant savegame.
You can also find them here:
β€’ Linux: $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/

random parrotBOT
solar plaza
#

Some additional information:
My main monitor (laptop monitor) specs are as follows (as reported by niri):

  Current mode: 3072x1920 @ 120.000 Hz
  Variable refresh rate: supported, disabled
  Physical size: 310x200 mm
  Logical position: 0, 0
  Logical size: 1755x1097
  Scale: 1.75
  Transform: normal
  Available modes:
    3072x1920@60.001 (preferred)
    3072x1920@120.000 (current)

and I do in fact have gdb, though lldb was not installed at the time of this crash.

whole pilot
solar plaza
#

actually a really smart guess but no it doesn't work

random parrotBOT
#

βœ… Thank you for providing further information, our team will have a look again!

solar plaza
#

actually Display.json didn't even get regenerated

whole pilot
#

Put it here: ~/.config/unity3d/tobspr Games/shapez 2/

solar plaza
#

tried it, still doesn't work

#

it did request a 1280x720 in the logs so that's good at least but the game didn't open

random parrotBOT
# solar plaza
πŸ“‹ Log File Analysis

Log Analysis (Player.log):

  1. Fatal Runtime Error: A fatal error occurred in the Mono runtime or one of the native libraries, with native fault reporting also failing, leaving some diagnostic information unavailable.
whole pilot
# solar plaza

Now that it is attempting the smaller resolution maybe try the following launch option: --safe-mode

solar plaza
#

no change

#

i just put --safe-mode in the launch options in steam and relaunched it

#

is there anything that identifies safe mode being active

#

the logs don't seem to mention it

random parrotBOT
# solar plaza
πŸ“‹ Log File Analysis

Log Analysis (Player.log):

  1. Fatal Runtime Error: A fatal error occurred in the Mono runtime or one of the native libraries, with incomplete diagnostic information due to a failure in the native fault reporting system.
#

[Linux] Title always exits shortly after starting it
To Do β€’ Priority: High β€’ Fix: None β€’ Game: 1.0.3-rc3

On Linux (Ubuntu and Arch), shapez 2 crashes shortly after launching, though the issue is not 100% reproducible. A fatal runtime error occurs in the Mono runtime or a native library. The crash can be worked around by using a non-native resolution or by manually creating a display.json file in the local folder with a specific resolution and windowed mode. The expected behavior is that shapez 2 starts successfully every time without requiring manual configuration changes.
πŸ’¬ Threads: [1.0.2-rc1] [Linux] Fullscreen not worki

#

[Linux] The title will end straight after starting a few times before starting properly
To Do β€’ Priority: Medium β€’ Fix: None β€’ Game: 1.0.3-rc3

On Linux (Ubuntu, Arch), shapez 2 crashes immediately after launching multiple times before eventually starting properly. The issue is triggered by a fatal runtime error in the Mono runtime or one of its native libraries, with native fault reporting also failing, which leaves some diagnostic information unavailable. The expected behavior is that shapez 2 should start properly on the first launch attempt.
πŸ’¬ Threads: [1.0.3-rc3] Game crashes a few times bef

#

Exception: No displays found
Done β€’ Priority: Medium β€’ Fix: Future β€’ Game: 0.0.7 β€’ Resolution: Done

The game crashes with an "Exception: No displays found" error when the system fails to detect any monitors during Graphics / Display / Visuals settings initialization. This occurs during screen configuration when Unity does not provide display information, affecting a few users. The crash prevents the game from starting or applying display settings properly. A restart sometimes fixes the issue for some users. A workaround was implemented to assume a default Full HD resolution and use the prim...
πŸ’¬ Threads: Black Screen - No display found

#

--safe-mode launch option goes to native resolution because of playerprefs settings on starting the title
To Do β€’ Priority: High β€’ Fix: None β€’ Game: 1.0.3-rc3

The --safe-mode launch option in shapez 2 fails to enforce 1280x720 resolution on startup, instead defaulting to native resolution due to playerprefs settings being applied first. This is particularly problematic on Linux, where launching at native resolution frequently causes crashes. To reproduce, the user must clear registry and display settings before launching with --safe-mode. The expected behavior is that --safe-mode should maintain 1280x720 resolution from startup through reaching the...

#

Shapez 2 can crash when switching graphics settings while using Linux.
To Do β€’ Priority: Critical β€’ Fix: None β€’ Game: 0.1.1

shapez 2 can crash or become unstable on Linux when changing and applying graphics settings such as resolution and window mode. This occurs when users navigate to Settings > Graphics and apply changes. Additionally, some users experience crashes at startup, potentially due to the application attempting to apply outdated graphics settings from a previous version before the settings refactor in rc1. The expected behavior is that the game remains functional and stable after applying graphics cha...
πŸ’¬ Threads: [1.0.2-rc1] Crash when hitting apply in

#

Crash on startup
Done β€’ Priority: Medium β€’ Fix: Version 0.0.9 β€’ Game: 24.2.2 β€’ Resolution: Won't Fix

shapez 2 crashes on startup with a SIGSEGV error when running natively on Linux, likely triggered by recent OS package updates (such as mesa, mutter, vulkan-loader, or xwayland). The game was previously working but newer package versions broke compatibility. Running under Proton appears to work as a workaround, though sound issues were also reported. The crash occurs in native code before the menu is displayed. This is not something the development team can fix on their end, so using Proton i...
πŸ’¬ Threads: [1.0.3-rc3 Linux] Game launches for a fe

solar plaza
#

also notably behavior seems to have changed from when i reported the bug, back then it would create a black window and then close, but now no window is being created at all

solar plaza
#

just checked, game does work under proton

#

although it won't fullscreen properly and the background factory is shifted off the screen

#

but that's probably just a proton thing

whole pilot
# solar plaza

The detail you see in the main menu indicates you are most likely in safe mode.

#

Could try changing it to windowed but a lower resolution than full screen. then Exit the game. Restart (might be ok to remove safe mode if using proton)

solar plaza
#

oh yeah no those totally worked

whole pilot
#

[1.0-?][Linux] Instant crash on startup after removing monitor last played

random parrotBOT
#

[SPZ2-6232] [1.0-?] [Linux] Instant crash on startup after removing monitor last played