Release Type: Github
Version: latest
Platform(s): Linux
Describe the bug
When resizing the window on Linux there is a high chance that the game will crash. Tested on KDE Plasma and Hyprland (where the crash also often happens when starting due to hyprland tiling and resizing the window).
To Reproduce
Steps to reproduce the behavior:
- Open any project
- Make the window resizable
- Start rapidly changing the window size with the mouse
- Crash
Log and callstacks
Exception has occurred: CLR/System.InvalidOperationException
An exception of type 'System.InvalidOperationException' occurred in Stride.Graphics.dll but was not handled in user code: 'Vulkan call presentResult returned SuboptimalKHR'
at Stride.Graphics.GraphicsDevice.CheckResult(VkResult vkResult, String call)
at Stride.Graphics.SwapChainGraphicsPresenter.Present()
at Stride.Games.GraphicsDeviceManager.Stride.Games.IGraphicsDeviceManager.EndDraw(Boolean present)
at Stride.Games.GameBase.EndDraw(Boolean present)
at Stride.Engine.Game.EndDraw(Boolean present) in G:\VS\stride\sources\engine\Stride.Engine\Engine\Game.cs:line 453
at Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
at Stride.Games.GameBase.RawTick(TimeSpan elapsedTimePerUpdate, Int32 updateCount, Single drawInterpolationFactor, Boolean drawFrame)
at Stride.Games.GameBase.RawTickProducer()
Release Type: Github
Version: latest
Platform(s): Linux
Describe the bug
When resizing the window on Linux there is a high chance that the game will crash. Tested on KDE Plasma and Hyprland (where the crash also often happens when starting due to hyprland tiling and resizing the window).
To Reproduce
Steps to reproduce the behavior:
Log and callstacks