Jump to content

[solved] Unity exporter exports "empty" bones as meshes


Recommended Posts


I had a issue with the "old" unity exporter,
and as it has been deprecated, i didn't want to much about it and simply thought i'd leave a topic if others encounter the same issue.

it seems to export bones as empty meshes ( it also exported them as bones, so they were exported twice).

the bones don't have any animations, they are only used for rigging.

i made a quick-fix locally, as i don't have any "empty" mehses in my files, i just commented out the empty object export and it now works as intended.

// Inside SceneBuilder.cs
        public void ConvertFromUnity()
            // ....

            // Inside foreach loop

                // Camera
                var camera = gameObject.GetComponent<Camera>();
                if (camera != null)
                    ConvertUnityCameraToBabylon(camera, progress);
                    ConvertUnitySkyboxToBabylon(camera, progress);

                // Empty
-                ConvertUnityEmptyObjectToBabylon(gameObject);
+                //ConvertUnityEmptyObjectToBabylon(gameObject);
            } // End of foreach loop

Sorry I can't share an example as all my unity files are licensed.

i don't know if the issue exists on the new exporter / tool-kit.


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...