Hello,
I am encountering an error while trying to load multiple models (more than 20) asynchronously using Hoops version 2024.5. The source code is as follows:
const rootId = hwv.model.getAbsoluteRootNode();
for (const model of list) {
hwv.model.loadSubtreeFromModel(rootId, model);
}
The error message is as follows:
When I call the loadSubtreeFromModel() function with ‘await’ for synchronous execution, there is no error. However, when I remove ‘await’ for asynchronous loading, an error occurs.
Additionally, when I tested using version 2024.03, it worked correctly.
Could you please advise on how to load the models correctly without encountering this error?
Thank you.