在VUE3上销毁Unity WebGL实例时的错误3
我有一个与VUE3集成的工作Unity WebGL应用程序。每当我转到其他页面时,总是会有一个错误:
我尝试在VUE3中的Onunmount事件期间调用unityInstace.quit()
,错误会更改为:
我怀疑破坏统一实例存在问题。但是,我研究了Unity WebGL文档,似乎没有任何指南处理Unity WebGL实例。
谢谢!
I have a working Unity WebGL application integrated with Vue3. Every time I move to a different page, there is always an error:
I tried to call unityInstace.Quit()
during onUnmount event in Vue3, and the error changes to:
I suspect there is an issue on destroying the unity instance. However, I looked at Unity WebGL docs, and there doesn't seems to be any guides on disposing the Unity WebGL instance.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论