Replies: 3 comments 1 reply
-
是不是传给 |
Beta Was this translation helpful? Give feedback.
1 reply
-
我的逻辑代码简化后是这样
在执行第三行时就会报上面的错。 我怀疑与时序有关,因为我这里有非常低的概率不报错 |
Beta Was this translation helpful? Give feedback.
0 replies
-
找到原因了,上面的entity通过 world:create_instance 创建,出错是因为我在on_ready未调用时就开始在其他地方使用。 原始代码如下:
我在其他system里面会用到上面的api.model:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我的玩法在sims包中,如果我启动时就加载这个包,功能一切正常,但如果我启动时先加载entry包,然后再通过 window.reboot({feature = {“sims”}}) 切过去,玩法部分就会报下面的错:
这是ecs的c++部分报的,有空麻烦看看这个错怎么理解呢~
Beta Was this translation helpful? Give feedback.
All reactions