Is async loading of collection proxies planned? (SOLVED)

I just discovered Defold and I’m going through the docs and I couldn’t help but notice that Collection Proxies are sync, but have a compatible API for an async implementation.

Physics worlds I understand are separate, but are Lua contexts separate between sockets? (not specified in docs) If yes, then there’s nothing to stop a future implementation from running different sockets on different threads.

Lua contexts are not separate between sockets. We previously had different Lua contexts for script, gui_script and render_script as default, but that setting was changed quite a while ago.

As for async loading of collections please check async_load.

1 Like

Oh, thank you. It wasn’t immediately apparent from the collection proxy manuals, as they keep stressing about sync loading.

Ok, I see, maybe that can be improved @sicher?

Yes, I’ll look into it. Thanks for the report.

1 Like