Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fengbinmov opened this issue Aug 14, 2021 · 0 comments

Comments

@fengbinmov
Copy link

fengbinmov commented Aug 14, 2021

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

@fengbinmov fengbinmov changed the title 以碎土形式导出,无法使用[NullReferenceException: Object reference not set to an instance of an object] 以碎图形式导出,无法使用[NullReferenceException: Object reference not set to an instance of an object] Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant