o3de / o3de-atom-sampleviewer

Atom sample viewer project for the Open 3D Engine
https://o3de.org
Other
31 stars 35 forks source link

[PadSkinningStreamBuffers branch] Quickly changing certain properties in the SkinnedMesh sample causes GameLauncher to crash #637

Open LB-ArturZieba opened 1 year ago

LB-ArturZieba commented 1 year ago

Describe the bug If Segments Per-Mesh, Vertices Per-Segment, or Sub-mesh count properties are changed quickly in the SkinnedMesh sample, the AtomSampleViewer.GameLauncher crashes.

It should be noted that no error.log/.dmp files were generated and Game.log did not contain any additional information.

This issue also occurs on Android project that was deployed from Windows.

Due to time constraints it was not yet possible to confirm if the issue occurs on the Development branch of AtomSampleViewer.

This issue should be treated as Major priority.

Steps to reproduce

  1. Launch AtomSampleViewer.GameLauncher.
  2. Go to Samples > Features > SkinnedMesh.
  3. Move sliders quickly on one of the properties: Segments Per-Mesh, Vertices Per-Segment, or Sub-mesh count.

Expected behavior AtomSampleViewer.GameLauncher remains stable.

Actual behavior AtomSampleViewer.GameLauncher crashes.

Video

https://github.com/o3de/o3de-atom-sampleviewer/assets/86952082/953ba5e5-f0ee-4182-8800-eb540abaad4d

Found in Branch o3de: https://github.com/aws-lumberyard-dev/o3de/tree/moudgils/PadSkinningStreamBuffers AtomSampleViewer: https://github.com/aws-lumberyard-dev/o3de-atom-sampleviewer/tree/moudgils/PadSkinningStreamBuffers

Desktop

LB-ArturZieba commented 1 year ago

This issue is confirmed to occur on Windows and Linux on the o3de Development (a62f43b) branch and o3de-atom-sampleviewer Development (https://github.com/o3de/o3de-atom-sampleviewer/commit/d2890bfca72a20695b700e44b9cfd6aec4072eb0) branch.

Please note that attempting to launch this sample on Android results in https://github.com/o3de/o3de-atom-sampleviewer/issues/638.