SCNNode.flattenedClone() is not working for me.

I have an SCNNode with several child SCNNodes in the graph tree.

When I call flattenedClone() it gives me a node that displays nothing.

I don't get any errors.

Are there any prerequisits before calling this method?

Replies

More Info:

The test I am running is 6 SCNBoxes with an SCNMaterial that contains an image. It is parented by an empty SCNNode.

When I display without the flattenedClone() it is fine. Everything works.

When I call flattenedClone() on the parent of the 6 box nodes, it creates a new node with an empty Geometry (all zeros).

This is happening for me as well. Seems like a bug.

Post not yet marked as solved Up vote reply of iwoj Down vote reply of iwoj
I’ve got the same problem! Hey, anybody from Apple, can you explain what’s going wrong?