engine
engine copied to clipboard
If all assets are already loaded and AssetListLoader is used to load the assets, the done callback is not called
Project: https://playcanvas.com/project/966580/overview/asset-list-all-loader-bug Expectation: 'Done' to be printed in console
Workaround, use the ready function to set a callback.
Looks like in the load
function, we just need to call _loadingComplete
where we fire the load
event here:
https://github.com/playcanvas/engine/blob/main/src/asset/asset-list-loader.js#L130