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

dragonBone动画换肤在H5上表现正常, 在原生平台闪退 #1387

Closed
stormslowly opened this issue Dec 22, 2016 · 4 comments
Closed

dragonBone动画换肤在H5上表现正常, 在原生平台闪退 #1387

stormslowly opened this issue Dec 22, 2016 · 4 comments
Assignees

Comments

@stormslowly
Copy link

我们自己调查了下

https://github.com/cocos-creator/engine/blob/de1c6b174b6399f502cfe6280d64b9aebf3126f7/extensions/dragonbones/ArmatureDisplay.js#L323

调用的原生解析方法返回的是一个空对象,里面this._dragonBonesData.armatureNamesundefined

我们游戏中调用的代码片段

      this._armatureDisplay.armatureName = 'qiao';
      this._armatureDisplay.buildArmature('qiao');
      this._armatureDisplay.playAnimation('qiao', 1);

使用的dragonData 在 https://pan.baidu.com/s/1jHJAhIu

@natural-law
Copy link

@stormslowly 请问你们使用的 Creator 版本是多少呢?

@natural-law
Copy link

我刚刚在 1.3.2 版本和开发环境中测试了一下,并没有闪退的问题。
可能你们使用的 Creator 版本较低,在新版本中问题已经解决了。

@stormslowly
Copy link
Author

creator 版本 1.3.1 我升级看看吧

@stormslowly
Copy link
Author

1.3.2 是好的. 谢谢

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

2 participants