Closed An12854 closed 3 weeks ago
Unity Version: 2019.4.31f1
OS: Windows 10 Home 22H2
Issue: When trying to export a model it throws this error:
NullReferenceException: Object reference not set to an instance of an object AvatarExporter.StoreMaterialData (UnityEngine.Material[] materials) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:1235) AvatarExporter.TraverseUserBoneTree (UnityEngine.Transform modelBone, Overte.BoneTreeNode boneTreeNode) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:757) AvatarExporter.TraverseUserBoneTree (UnityEngine.Transform modelBone, Overte.BoneTreeNode boneTreeNode) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:814) AvatarExporter.SetBoneAndMaterialInformation () (at Assets/Editor/AvatarExporter/AvatarExporter.cs:715)
How to reproduce: Open a Unity Project, install the assets and the asset exporter, go to Overte>Export New Avatar
I forgot to set the correct material, I'm an idiot
Unity Version: 2019.4.31f1
OS: Windows 10 Home 22H2
Issue: When trying to export a model it throws this error:
NullReferenceException: Object reference not set to an instance of an object AvatarExporter.StoreMaterialData (UnityEngine.Material[] materials) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:1235) AvatarExporter.TraverseUserBoneTree (UnityEngine.Transform modelBone, Overte.BoneTreeNode boneTreeNode) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:757) AvatarExporter.TraverseUserBoneTree (UnityEngine.Transform modelBone, Overte.BoneTreeNode boneTreeNode) (at Assets/Editor/AvatarExporter/AvatarExporter.cs:814) AvatarExporter.SetBoneAndMaterialInformation () (at Assets/Editor/AvatarExporter/AvatarExporter.cs:715)
How to reproduce: Open a Unity Project, install the assets and the asset exporter, go to Overte>Export New Avatar