メインコンテンツまでスキップ

Null reference exeption

The location of this error is important

at Assets/UniGLTF/Runtime/MeshUtility/MeshAttachInfo.cs:23

Mesh.bindposes = Bones.Select(x => x.worldToLocalMatrix * dst.transform.localToWorldMatrix).ToArray();

Has the gameobject used for skinning been deleted?

workaround

Please try disable instead of remove.

at Assets/VRM10/Runtime/IO/Model/ModelExporter.cs:306

skin.Joints = skinnedMeshRenderer.bones.Select(x => nodes[x.gameObject]).ToList();

Has the gameobject used for skinning been deleted?

workaround

Please try disable instead of remove.