o3de icon indicating copy to clipboard operation
o3de copied to clipboard

Asset Processor showing errors in numerous completed jobs for a new project

Open LB-KacperKapusta opened this issue 2 years ago • 3 comments

Describe the bug After finishing the scan, Asset Processor reports errors in numerous jobs marked as completed in a new project created via Project Manager built in Source engine configuration. The issue occurs on Windows for PC, Android and Server assets, as well as for Linux assets on Linux OS.

For further information please refer to the attached videos.

Steps to reproduce

  1. Create a new project in Project Manager built in Source engine configuration (https://www.o3de.org/docs/welcome-guide/setup/setup-from-github/building-windows/).
  2. Build the project.
  3. Modify the o3de/Registry/AssetProcessorPlatformConfig.setreg file to enable Android and Server assets.
  4. Run the Asset Processor and wait for the scan to finish.

Expected behavior No errors are present in the Asset Processor.

Actual behavior Numerous completed jobs report errors for multiple platforms.

Screenshots/Video

https://user-images.githubusercontent.com/86953659/195558740-183ee0e5-1c10-4870-9a65-153f17a36bab.mp4

https://user-images.githubusercontent.com/86953659/195558780-8c290e5a-e9cf-448c-aeb0-ec0ea8c46a7a.mp4

Found in Branch Development (c2a1d77)

Desktop/Device

  • Device: PC
  • OS: Windows
  • Version: 10
  • CPU: AMD Ryzen 5 3600
  • GPU: NVIDIA GeForce RTX 2060 SUPER
  • Memory: 16GB

LB-KacperKapusta avatar Oct 13 '22 09:10 LB-KacperKapusta

This ticket is going to have to be broken down to be actionable. I don't think we should start by going all the way to one ticket per asset with an error, but we should create a ticket per asset type + error message.

Some errors will have to be resolved in the specific content. Other errors can be resolved in code for all assets of that type. Sometimes it may be a combination of both.

AMZN-stankowi avatar Oct 13 '22 15:10 AMZN-stankowi

The ticket has been split into separate issues per asset type:

  • Lua Compile: #12611
  • Scene Compilation: #12612
  • Shader Asset: #12616
  • Editor Slice Copy: #12617
  • Animgraph: #12620

4 more Linux specific issues remain to be created.

LB-KacperKapusta avatar Oct 14 '22 13:10 LB-KacperKapusta

In the end we created a total of 9 issues. Here is the next batch:

  • Script Canvas Process Job: #12661
  • Prefabs: #12662
  • UI Canvas: #12664
  • Process Slice: #12666

Which turned out not to be Linux specific after building a project with all gems enabled.

LB-KacperKapusta avatar Oct 18 '22 13:10 LB-KacperKapusta

Closing this as we now have all of the issues broken out

monroegm avatar Oct 26 '22 18:10 monroegm