-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See which asset is being loaded during progress tracking #108
Comments
I don't think that there is a better way at the moment. The logging could definitely be improved here. If an asset fails to load I would always expect the asset server or loader to report that. |
I did it the manual way now (https://github.com/janhohenheim/foxtrot/blob/main/src/file_system_interaction/asset_loading.rs#L98) and have identified that a GLTF sometimes just loads forever, so there is no error being reported since it didn't actually fail. |
I would be surprised if that problem has anything to do with |
I see, that makes sense. |
This concerns the
progress_tracking
feature.I've got an issue where sometimes a single asset never finishes loading.
It's hard for me to debug this without knowing which assets already finished loading. I thought about simply querying an
Option<Res<MyAsset>>
for every asset and putting the.is_some()
output into astruct
during loading, but that feels like excessive boilerplate. Is there a better way to either know which assets are finished loading or which asset is being loaded right now?The text was updated successfully, but these errors were encountered: