o3de / o3de-atom-sampleviewer

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

[Linux] Asset Processor fails to process multiple assets and AtomSampleViewerStandalone is not working #545

Open LB-JaroslawGaweda opened 2 years ago

LB-JaroslawGaweda commented 2 years ago

Describe the bug Asset Processor reports multiple failed assets after processing assets for AtomSampleViewer project built via CLI. Attempting to run the AtomSampleViewerStandalone after this will result in multiple errors in the terminal and the launcher crashes right after appearing. Adding the Asset Processor logs, log from one of the failed assets and the terminal output after attempting to run the AtomSampleViewerStandalone. Please note that this issue is not present on Windows. When a project is built via the Project Manager, the AtomSampleViewerStandalone app can be launched. However multiple samples are not working (with assets missing or just gray screen appearing) or crashing the AtomSampleViewerStandalone, and it is not clear if those are separate issues. The issue with a CLI was reproduced on two machines so far and the issues with a PM version of the launcher was noticed on only one machine. Listing the samples with mentioned issues below.

Sample List

Steps to reproduce Steps to reproduce the behavior:

  1. Clone the o3de-atom-sampleviewer and build it.
  2. Launch the AssetProcessor from the project folder.

Steps to build via the CLI:

  1. Clone the project using the following commands: git clone https://github.com/o3de/o3de-atom-sampleviewer.git
  2. Move to the o3de-atom-sampleviewer folder and build the project using following commands: cmake -B build/linux -S . -G "Ninja Multi-Config" -DLY_3RDPARTY_PATH=$HOME/o3de-packages cmake --build build/linux --target Editor AtomSampleViewerStandalone--config profile -j 8

Expected behavior Asset Processor processes all of the assets successfully and the AtomSampleViewerStandalone is functioning.

Actual behavior Asset Processor fails multiple assets and AtomSampleViewerStandalone is not working.

Found in Branch O3DE: Development (181022c) ASV: Development (cf83f12)

Desktop • Device: PC • OS: Ubuntu • Version: Ubuntu 20.04.4 LTS • CPU Intel Core i7-9700K • GPU Nvidia GeForce RTX 2070 • Memory 16GB

Additional context AP_GUI.6216.log AP_GUI.6221.log AP_GUI.6226.log AP_GUI.log AtomSampleViewer.log cube.fbx-3788821345-4275.log cube.fbx-BD8BF658-9485-4FE3-830E-8EC3A23C35F3_createJobs.log terminal.txt

LB-JaroslawGaweda commented 1 year ago

We have encountered this issue also on Windows on builds O3DE: Development (b5d57f7) and ASV: Development (9db5301), while attempting to do the https://github.com/o3de/sig-testing/blob/main/manual_test_guides.md#sig-graphics-audio. It should be noted that this casues to some tests fails because of missing assets. Attaching logs of failed assets and errors screens:

MaterialPipelineTest_Enhanced_TintedTransparent.material-807421627-12389.log MinimalPBR_RedDielectric.material-294825750-12409.log AP error

LB-JaroslawGaweda commented 1 year ago

It should be noted that on Development O3DE: (a16d07a) and ASV: Development (9db5301) all Sample>Features crash on Linux. Posting this comment as multiple crashes in the Samples menu seem to be connected to this issue.

moudgils commented 1 year ago

@galibzon is this still applicable?