#[SPZ2-6266] [1.0.2-rc1] [Linux] Fullscreen not working on wayland

14 messages Β· Page 1 of 1 (latest)

fluid shale
#

Environment: sway | Arch Linux

Unity crashes whenever the game enters fullscreen.
In the past I was able to force unity to start in borderless window mode by manually changing the game settings in $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/settings.json (or unity preferences $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/prefs, or command line arguments -screen-fullscreen 0 -window-mode borderless).

In the current version, I can start the game in window mode. But as soon as the intro finishes, the game automatically tries to switch to ExclusiveFullscreen and crashes.

heavy flameBOT
#

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 30 reports awaiting team review. Due to the high volume, it may take a little longer for us to get to yours.

πŸ’Ύ 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/

heavy flameBOT
#

One time crash when pausing with 'P' and minimizing game
Done β€’ Priority: Medium β€’ Fix: None β€’ Resolution: Cannot Reproduce

A player experienced a one-time crash to desktop when pausing shapez 2 using the keybinding 'P' and then minimizing the game window to search the Wiki in their browser. The crash occurred without warning and the player could not reproduce it afterward. Log analysis revealed a fatal Mono runtime error and a native fault reporting error, but insufficient data was available for full diagnosis. The development team attempted multiple reproduction attempts across different builds but could not rec...
πŸ’¬ Threads: [0.0.9-RC7] Crash (SIGSEGV?)

#

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

shapez 2 crashes on startup following recent OS updates on Linux, where it was previously working. The crash produces a SIGSEGV error indicating a fatal error in the mono runtime or native libraries. The player identified that newer package versions of mesa, mutter, vulkan-loader, and xwayland broke the game, while older versions worked. Running the game under Proton provides a workaround, though sound issues were also present. The crash prevents the game from launching entirely on the affect...

#

Linux: Crash when losing focus if in full screen or borderless mode
To Do β€’ Priority: Highest β€’ Fix: Probably Never β€’ Game: 6.5.5

On Linux (KDE Plasma and Ubuntu), shapez 2 crashes instantly when the game loses focus while in fullscreen or borderless screen mode. This is triggered by Alt-Tab, the Windows key, or clicking outside the game window. The crash occurs immediately upon focus change, stopping the game entirely. The expected behavior is that shapez 2 should continue running regardless of screen mode when focus is lost. The issue was previously observed on Bazzite but has since resolved there for unknown reasons.
πŸ’¬ Threads: [0.1.1] Linux - Game crash on FN key pre

#

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

#

Fullscreen mode causes monitors to go black for a second when entering menu / starting a gme
Done β€’ Priority: Low β€’ Fix: OLD Early Access β€’ Resolution: Done

When playing shapez 2 in Fullscreen mode, the monitors go black for a second when entering the menu or starting a game. This appears to be caused by Screen.SetResolution being called even when the resolution hasn't changed. The issue has been addressed by adding a check to only call SetResolution when the current mode actually differs from the target mode. The fix prevents the black screen flicker from occurring every time the player transitions between menu and game.

#

Game minimizes when going out of focus in full screen (DX12)
Done β€’ Priority: Medium β€’ Fix: 4 - Early Access β€’ Resolution: Done

shapez 2 minimizes when losing focus in exclusive fullscreen mode on DX12. The issue occurs when using the Windows key or alt-tabbing out of the game, but does not happen in borderless or windowed modes. Unity's implementation always minimizes when focus is lost in exclusive fullscreen, making QA testing difficult as Windows screenshot tools also trigger minimization. The behavior is inconsistent and may be related to swapchain resizing. Testing shows the issue persists on both DX11 and DX12 ...

fluid shale
#

So apparently the setting moved from $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/settings.json into $XDG_CONFIG_HOME/unity3d/tobspr Games/shapez 2/Local/Display.json.
With that file, I was able to start the game properly:

{
  "resolution.width": "3840",
  "resolution.height": "2160",
  "window-mode": "Windowed"
}
true egret
#

I'm glad you were able to get running. I'll add this ticket to the tracking issue we have for this.

fluid shale
#

Yep, being on Linux teaches you to solve your own issues πŸ˜‡
Maybe you should update the instructions in #πŸ”troubleshooting

rustic silo
#

[1.0.2-rc1][Linux] Fullscreen not working on wayland

heavy flameBOT
#

🎫 Many thanks for reporting this issue! We have created an internal ticket for further investigation and will keep you updated. The internal ticket ID is SPZ2-6266 for reference. If you want to provide further information, just comment on this thread.