DragonBones / DragonBonesCSharp

DragonBones C# Runtime
MIT License
537 stars 198 forks source link

以碎图形式导出,无法使用[NullReferenceException: Object reference not set to an instance of an object] #80

Open fengbinmov opened 3 years ago

fengbinmov commented 3 years ago

unity version 2020.3.x DragonBone version 5.6.3.0001

NullReferenceException: Object reference not set to an instance of an object DragonBones.UnitySlot._UpdateMesh () (at Assets/DragonBone/Unity/src/DragonBones/Scripts/unity/UnitySlot.cs:735) DragonBones.Slot.Update (System.Int32 cacheFrameIndex) (at Assets/DragonBone/DragonBones/src/DragonBones/armature/Slot.cs:820) DragonBones.Armature.AdvanceTime (System.Single passedTime) (at Assets/DragonBone/DragonBones/src/DragonBones/armature/Armature.cs:349) DragonBones.BaseFactory.BuildArmature (System.String armatureName, System.String dragonBonesName, System.String skinName, System.String textureAtlasName) (at Assets/DragonBone/DragonBones/src/DragonBones/factory/BaseFactory.cs:816) DragonBones.UnityFactory.BuildArmatureComponent (System.String armatureName, System.String dragonBonesName, System.String skinName, System.String textureAtlasName, UnityEngine.GameObject gameObject, System.Boolean isUGUI) (at Assets/DragonBone/Unity/src/DragonBones/Scripts/unity/UnityFactory.cs:333) DragonBones.UnityEditor.ChangeArmatureData (DragonBones.UnityArmatureComponent _armatureComponent, System.String armatureName, System.String dragonBonesName) (at Assets/DragonBone/Unity/src/DragonBones/Editor/UnityEditor.cs:240) DragonBones.UnityEditor.ChangeDragonBonesData (DragonBones.UnityArmatureComponent _armatureComponent, UnityEngine.TextAsset dragonBoneJSON) (at Assets/DragonBone/Unity/src/DragonBones/Editor/UnityEditor.cs:187) DragonBones.UnityEditor._CreateArmatureObjectFromSkeMenuItem () (at Assets/DragonBone/Unity/src/DragonBones/Editor/UnityEditor.cs:55)

工程文件 Anima.zip