How to get errors from an asset that failed to load? #9356
Unanswered
liquidhelium
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want users to submit their file and my program will try to load them, and they will get the error detail when it failed to load.
I've checked
AssetServer::get_load_state
, but it do not provide an error.I've also checked
AssetServer::load_async
, but it's a private function, and the error it returned is consumed inload_untracked
.What is the best approach to do this?
Beta Was this translation helpful? Give feedback.
All reactions