Open rparrett opened 2 months ago
Relevant code:
I assumed that you simply forgot to package the icon, but no:
This seems to be related to loading the icon manually without the asset server.
I suspect you can work around this by using https://docs.rs/bevy/latest/bevy/asset/io/file/struct.FileAssetReader.html#method.get_base_path
This manifests as a user double-clicking the app, and the app "opening" but immediately closing before a window is even created.
If you run the app from the terminal exactly like this:
You can see the panic causing the issue: