在VUE3上销毁Unity WebGL实例时的错误3

发布于 2025-02-08 06:46:38 字数 518 浏览 1 评论 0原文

我有一个与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:
enter image description here

I tried to call unityInstace.Quit() during onUnmount event in Vue3, and the error changes to:
enter image description here

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文