o3de / o3de-multiplayersample

Multiplayer sample project for the Open 3D Engine
https://o3de.org
Other
84 stars 61 forks source link

Linux: Vulkan.h(96) assert is printed to the Terminal when the GameLauncher is closed #335

Open LB-ArturZieba opened 1 year ago

LB-ArturZieba commented 1 year ago

Describe the bug Exiting the GameLauncher for example via pressing Esc and clicking Quit in the menu causes an assert to be printed to the Terminal it was launched from:

File:

/data/workspace/o3de/Gems/Atom/RHI/Vulkan/Code/Source/RHI/Vulkan.h

Condition:

(140240341694016) 'void AZ::Vulkan::AssertSuccess(VkResult)'
ASSERT: Vulkan API method failed: Device lost

Line: 96

This issue is submitted as per this request: https://github.com/o3de/o3de-multiplayersample/issues/323#issuecomment-1499414959.

It should be noted that this issue only occurred on Linux.

Steps to reproduce

  1. Follow steps listed here: https://github.com/o3de/o3de-multiplayersample/blob/stabilization/2305/README_LINUX.md to setup MultiplayerSample.
  2. Launch ServerLauncher and GameLauncher as described here: https://github.com/o3de/o3de-multiplayersample/blob/development/README_LINUX.md#step-4-setup-client-and-server.
  3. In the GameLauncher press Esc and click Quit in the menu.
  4. Look to the Terminal used to launch ServerLauncher.

Expected behavior No asserts are printed to the Terminal.

Actual behavior Assert is printed to the Terminal.

Video and full assert logs

https://user-images.githubusercontent.com/86952082/230320956-8113cad3-1609-43ac-9545-3d4dd110de4e.mp4

AssertLogs.txt

Found in Branch o3de-multiplayersample: Stabilization/2305 (4cee1b11a04ecbedacadb7dd977f11c8adce0d12) o3de-multiplayersample-assets: Stabilization/2305 (6739f1027152e68f67be361d77df2296dbf4e800) o3de: Stabilization/2305 Installer (4/6/2023)

Desktop

AMZN-Gene commented 1 year ago

Needs more information. Doesn't seem game specific, but someone can check it out. Maybe Popcorn Fx is causing the shutdown issue? Reach out to Atom team if needed by creating a GHI in the O3DE proper GitHub.