the Bug was coming with Babylon 4.0.x… in 3.3 it is working.
the deepest for loop in deepCopy method in Babylon engine dont end because the (source) Array is growing….
Is there a bugfix in one of the next stable releases?
I see in your code that you are using mesh._children. This is not a good idea All members starting with _ are considered private and can be changed between versions.
Also I do not think this code was working before: mesh2.skeleton = mesh2.skeleton.clone("clonedSkeleton");
this is not my code, i have it found in the playground and this is creating the same effect as my code.
in my code we are using a the AssetManager to load OBJ files. This is a configurator for Racks. We are loading some assets and clone the same to build the Rack.
For the loaded Meshes i am calling the clone(“new_name”) Method.
The loader give me back an array of meshes. foreach I am calling the clone method.