bevy-website icon indicating copy to clipboard operation
bevy-website copied to clipboard

0.12 migration: Custom asset loader code is missing the associated error type

Open rparrett opened this issue 2 years ago • 1 comments

These changes came after the "assets migration guide" was written: https://bevyengine.org/learn/migration-guides/0-11-to-0-12/#removed-anyhow

We should reconcile that section with the content of the main assets v2 section: https://bevyengine.org/learn/migration-guides/0-11-to-0-12/#bevy-asset-v2

rparrett avatar Feb 22 '24 15:02 rparrett

I support this, it was confusing seeing the difference between the Assets V2 migration guide and the 0.12 examples. The Assets V2 section doesn't mention the new Error type that needs to be defined when implementing AssetLoaders, as well as the removal of anyhow in favour of thiserror.

aleksa2808 avatar Jul 13 '24 19:07 aleksa2808