Jump to content

[SOLVED] own mesh crashes website if merged


Recommended Posts

Obviously the point @Deltakosh made is one important issue why it does not work.

Swapping for clone rather than instance and putting in the two meshes as an array into mergeMeshes works https://playground.babylonjs.com/#JVQXIM#2 

However in the above playground that works and swap back clone to createInstance then the PG does indeed crash. I am guessing but probably something recursive is happening because of the way the geometry of instances is stored.

Not just custom meshes either, this PG with clones is OK https://playground.babylonjs.com/#JVQXIM#3 but change from clone to instance and my laptop locked up until I could remove the PG and then had to wait.

This appears to have been solved in the past but looks like some changes somewhere have reinstated it.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...