o3de-atom-sampleviewer
o3de-atom-sampleviewer copied to clipboard
[Linux] Asset Processor fails to process multiple assets and AtomSampleViewerStandalone is not working
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
- RHI/AlphaToCoverage
- RHI/AsyncCompute
- RHI/CopyQueue
- RHI/IndirectRendering
- RHI/Subpass
- RHI/Texture
- RHI/Texture3d
- RHI/TextureArray
- RPI/AssetLoadTest
- RPI/BakedShaderVariant
- RPI/SponzaBenchmark
- RPI/CullingAndLoad crash
- RPI/Decals crash
- RPI/DynamicMaterialTest
- RPI/Mesh
- RPI/MSAA
- RPI/MultiRenderPipeline
- RPI/MultiScene
- RPI/RootConstants
- RPI/StreamingImage
Steps to reproduce Steps to reproduce the behavior:
- Clone the o3de-atom-sampleviewer and build it.
- Launch the AssetProcessor from the project folder.
Steps to build via the CLI:
- Clone the project using the following commands: git clone https://github.com/o3de/o3de-atom-sampleviewer.git
- 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
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](https://github.com/o3de/o3de-atom-sampleviewer/files/10237939/MinimalPBR_RedDielectri
AtomSampleViewer.log
c.material-294825750-12409.log)
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.
@galibzon is this still applicable?