o3de / o3de-atom-sampleviewer

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

Culling Debug Window is not functional #390

Open LB-TomaszSerwanski opened 2 years ago

LB-TomaszSerwanski commented 2 years ago

Describe the bug The Culling Debug Window does not show any statistics no matter what options are enabled, which sample is loaded and where the camera points.

Please note that the issue occurs both in Windows and Linux.

Please refer to the attached video for more details.

Steps to reproduce Steps to reproduce the behavior:

  1. Launch AtomSampleViewerStandalone.exe.
  2. Load any sample (i.e. Samples -> RPI -> CullingAndLod).
  3. Open the Culling Debug Window (Culling -> Culling Debug Window).
  4. Enable Debug Draw option and all the checkboxes below.
  5. Navigate around the sample and/or load other samples.

Expected behavior Culling Debug Window displays the Culling Jobs Statistics.

Actual behavior The Culling Debug Window is not functional.

Screenshots/Video

https://user-images.githubusercontent.com/86953108/162378727-f1549918-8194-4173-9e21-ba87f45e284b.mp4

Found in Branch ASV: Stabilization/2205(3efc7e3) O3DE: Stabilization/2205:Installer

Desktop/Device:

LB-KacperKapusta commented 1 year ago

Please note that the Culling Debug Window only opens when Features and RPI samples are loaded. It closes and cannot be opened while RHI samples are loaded. Please let me know if this should be reported as a separate issue.

amzn-tommy commented 1 year ago

This is by design. Culling is part of the RPI, so it doesn't exist in RHI-only samples.

LB-TomaszSerwanski commented 1 year ago

Please note that the original issue still occurs for the RPI samples on the latest Stabilization/2210 branch (O3DE: b83f535, ASV: 6e9e09c) as shown on the video.

LB-JaroslawGaweda commented 1 year ago

@amzn-tommy Hello I encountered this bug while doing the https://github.com/o3de/sig-graphics-audio/blob/main/testing-guidance/workflow-tests/AtomSampleViewer/ASV_Debug_and_Profiling_Tools_Worflow_Test.md The issue still occurs on O3de Development (976601b) and ASV (9db5301) and is identical to the bug description. Culling Debug Window can be opened but is not functioning.