You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to instantiate a template that contains a GSplat Component like below, an exception is thrown.
// Attempt to copy entityconsttemplateInstance=this.app.root.findByName("Splat template");constgate=templateInstance.clone();// Attempt to instantiate templateconsttemplate=this.app.assets.get(195964191)constgate=template.resource.instantiate();
If the GSplat component is substituted for a Render Component, it works. I would expect the same behavior.
Hmm, it's just a very basic playcanvas project without anything too special. All I do on the code is try to instantiate a template that contains a GSplat component.
Project to reproduce: https://playcanvas.com/project/1254555/overview/splat-template-clone
When trying to instantiate a template that contains a GSplat Component like below, an exception is thrown.
If the GSplat component is substituted for a Render Component, it works. I would expect the same behavior.
Related forum post: https://forum.playcanvas.com/t/cant-clone-or-instantiate-gsplatcomponent/36948
The text was updated successfully, but these errors were encountered: