Unity中MCS字符的例外情况

时间:2017-12-10 13:13:27

标签: unity3d

运行Unity项目时出现这些错误。它们与MCS角色有关。这些错误会导致其他组件中断。例如,SALSA Lip-sync无法正常工作,因为此错误影响了SALSA使用的BlendShapes。

错误:

NullReferenceException: Object reference not set to an instance of an object
MORPH3D.COSTUMING.CostumeItem.setLODLevel (Single lodlevel, Boolean broadcast_change)
MORPH3D.COSTUMING.CIhair.setLODLevel (Single lodlevel, Boolean broadcast_change)
MORPH3D.SERVICES.CostumeModel.SetItemLODLevel (Single level)
MORPH3D.M3DCharacterManager.SyncCurrentLODLevel (Single level)
MORPH3D.M3DCharacterManager.initCharacterManager (Boolean refresh)
MORPH3D.M3DCharacterManager.Start ()

警告:

Unable to find first CoreMesh/LOD in costume item: ShortPonytailHair, your asset will likely break and not work
UnityEngine.Debug:LogWarning(Object)
MORPH3D.COSTUMING.CostumeItem:DetectCoreMeshes()
MORPH3D.COSTUMING.CIhair:DetectCoreMeshes()
MORPH3D.M3DCharacterManager:DetectAttachedHair()
MORPH3D.M3DCharacterManager:initCharacterManager(Boolean)
MORPH3D.M3DCharacterManager:Start()

1 个答案:

答案 0 :(得分:0)

问题出现在其中一项资产中 - 头发。 “C Ihair(脚本)”的网格类型被错误地设置为“body”。它必须改为“头发”。