o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.67k stars 2.19k forks source link

Assets created after the Asset Bundler was opened cannot be added to Seed List without restarting the Asset Bundler #11821

Open LB-ArturZieba opened 2 years ago

LB-ArturZieba commented 2 years ago

Describe the bug If an asset is created while the Asset Bundler is running, it can be found using the File Explorer, but attempting to add it to a Seed List causes "Asset catalog does not know about the asset {}" message to be printed to the console. It should be noted that restarting Asset Bundler fixes this issue.

Steps to reproduce

  1. Launch the Editor, and create a new level, save it.
  2. Without closing the Editor, launch the AssetBundler.exe with the project that you have launched the Editor from (for example in the Command Line: : AssetBundler.exe --project-path=C:\Users\\O3DE\Projects\).
  3. In the Asset Bundler, click the "Create new Seed List File" button, and save it under any name (for example "Test").
  4. Select the created Seed List, and click the "Add Asset" button.
  5. Select platform in the popup window (pc by default), click the Browse button, and add the level you have created in step 1 (example path: C:\Users\\O3DE\Projects\\Cache\pc\levels\\.spawnable).
  6. Without closing the Asset Bundler in the Editor create a new asset (for example a .scriptcanvas graph via the Script Canvas tool), and make sure it is processed in the Asset Processor.
  7. Repeat steps 4, and 5, but after clicking the Browse button, add the asset created in step 6.

Expected behavior Asset is added to the Seed List.

Actual behavior "Asset catalog does not know about the asset {}" is printed to the Asset Bundler console, and the asset cannot be added, until the Asset Bundler is restarted.

Video

https://user-images.githubusercontent.com/86952082/189093222-3b2f5a4a-5ef6-4289-9a7f-e860eec88f71.mp4

Found in Branch Stabilization/2210 (58fb16c)

Desktop

AMZN-stankowi commented 2 years ago

This is sort of as-designed. The Asset Bundler shouldn't be run when the Asset Processor is open.

AMZN-stankowi commented 2 years ago

I've marked this as a feature request instead of a bug, because it's currently functioning as designed