UnityTech / UIWidgets

UIWidget is a Unity Package which helps developers to create, debug and deploy efficient, cross-platform Apps.
Other
1.97k stars 256 forks source link

关于异步AssertionError: Window.instance is null #415

Closed Linspirit98 closed 4 years ago

Linspirit98 commented 4 years ago

我在readme中看到了这个error的解决方案,但是由于我在我的工程中使用了路由,因此http异步中的解决方案好像不太适合我。我没有办法在对应的body里面传参。请问如何能够在使用路由的情况下完成这个功能呢。

image

zhuxingwei commented 4 years ago

多谢你的反馈!这种类型需求的最佳实践您可以直接在我们的ConnectApp源码中看到。建议你移步看一下?https://github.com/UnityTech/ConnectAppCN

Linspirit98 commented 4 years ago

谢谢您,问题解决了!