amethyst / grumpy_visitors

🧙‍♂️🧙‍♀️ A prototype of a top-down EvilInvasion-like 2D arcade/action (with co-op!)
https://mvlabat.github.io/
MIT License
77 stars 13 forks source link

"Unsupported image format" #23

Closed canadaduane closed 4 years ago

canadaduane commented 4 years ago

I've compiled gv for my first time, but when I run the client, it complains with the following errors:

Here's the debug output:

[ERROR][amethyst_assets::storage] "Mesh": Asset "resources/assets/atlas.png" (handle id: Handle { id: 9 }) could not be loaded: Failed to load asset with name "resources/assets/atlas.png"
[ERROR][amethyst_assets::progress] Error loading handle 9, Mesh, with name resources/assets/atlas.png: Failed to load asset with name "resources/assets/atlas.png"
caused by: Failed to load asset with name "resources/assets/atlas.png"
Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Compat { error: UnsupportedError("Unsupported image format") } } }), backtrace: None, error: Format("IMAGE") } }), backtrace: None, error: Asset("resources/assets/atlas.png") } }
caused by: Format "IMAGE" could not load asset
Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Compat { error: UnsupportedError("Unsupported image format") } } }), backtrace: None, error: Format("IMAGE") } }
caused by: The Decoder does not support the image format `Unsupported image format`
Error { inner: Inner { source: None, backtrace: None, error: Compat { error: UnsupportedError("Unsupported image format") } } }
[ERROR][amethyst_assets::prefab::system] Failed loading sub asset: [AssetErrorMeta { error: Error { inner: Inner { source: Some(Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: Compat { error: UnsupportedError("Unsupported image format") } } }), backtrace: None, error: Format("IMAGE") } }), backtrace: None, error: Asset("resources/assets/atlas.png") } }, handle_id: 9, asset_type_name: "Mesh", asset_name: "resources/assets/atlas.png" }]
[ERROR][amethyst_assets::storage] "PREFAB": Asset "resources/prefabs/dummy.ron" (handle id: Handle { id: 0 }) could not be loaded: Failed to load asset with name "resources/prefabs/dummy.ron"
[ERROR][amethyst_assets::progress] Error loading handle 0, PREFAB, with name resources/prefabs/dummy.ron: Failed to load asset with name "resources/prefabs/dummy.ron"
caused by: Failed to load asset with name "resources/prefabs/dummy.ron"
Error { inner: Inner { source: Some(Error { inner: Inner { source: None, backtrace: None, error: StringError("Failed loading sub asset") } }), backtrace: None, error: Asset("resources/prefabs/dummy.ron") } }
caused by: Failed loading sub asset
Error { inner: Inner { source: None, backtrace: None, error: StringError("Failed loading sub asset") } }

Am I missing a library that would lend support to loading the PNG image format?

canadaduane commented 4 years ago

Thanks to Dispersia on discord chat for help identifying the issue (need git-lfs).