i've got a custom asset loading system, using events; i wait until everything is loaded before spawning in the entire map.
the problem is, assets never load. its a bit difficult to show off my code concisely, but i'm essentially loading the handles into a resource where they stay until a level is loaded that no longer depends on them.
- the handle is not being dropped; the whole point of the resource is keeping handles around until they should be dropped.
- yes the resource actually exists
- and its not empty
- i am not calling .load() every frame, it is only called on the first event (and followup events to check the load state use
server.is_loaded_with_dependencies()) - when i used the function above, i get 'Loading' state forever.
- i know the paths are right, because i get errors when i fuck it up, and i haven't fucked it up. these meshes also loaded fine when i was manually loading shit outside of the loading system.
- please do not try to explain to me that i should be using a plugin or doing something else, my asset loading system otherwise functions fine
- using bevy 0.14.2 with default plugins, multithreaded on, etc in a FixedUpdate system
is there some kind of problem with handles getting dropped if you stick them in a resource immediately instead of using them? i have no idea what the problem is here.
im saving them as Handle<Mesh>, and calling them as server.load("path.gltf#Mesh0"), if that helps.