effects-runtime icon indicating copy to clipboard operation
effects-runtime copied to clipboard

[Bug] 对 player 实例进行销毁后,报错问题

Open wangbo163com opened this issue 1 year ago • 1 comments

🔎 搜索关键词

1.对player实例进行销毁后,报错问题。2.减少一些无用的conslog.log

🕗 版本信息

1.1.5

🖥️ 平台信息

  • [ ] iOS
  • [ ] Android
  • [X] Web
  • [ ] 小程序(支付宝/微信)
  • [ ] 微信小游戏
  • [ ] macOS
  • [ ] Windows
  • [ ] Linux
  • [ ] Other

💻 示例代码

No response

🙂 预期行为

应该是正常销毁

🙁 实际行为

lQLPKcwiVUuIe7PNATrNBVSwOi5bC6BCwwkFncoq4bDzAA_1364_314

⏯ 复现步骤

player.value && (await player.value.dispose());

其它信息

No response

wangbo163com avatar Jan 22 '24 10:01 wangbo163com

看着是创建两个Player,分别加载两个JSON文件,然后销毁一个Player后出错? 可以提供下可测试的最小场景吗,我们使用时没有遇到这类销毁问题。

liuxi150 avatar Jan 23 '24 02:01 liuxi150