NSSTC / sim-ecs

Batteries included TypeScript ECS
https://nsstc.github.io/sim-ecs/
Mozilla Public License 2.0
86 stars 13 forks source link

The runtime world hasn't initialized a scheduler executor! #73

Closed jpraccio0722 closed 1 year ago

jpraccio0722 commented 1 year ago

Saw the above exception when trying this library out. Ran the examples included in the repo and received the same error. Seems that currentSchedulerExecutor is undefined in the runtime-world. Currently there is no way to run the world.

minecrawler commented 1 year ago

Thank you for your report. What version are you using? What's your runtime?

Edit: Tracing it back, the regression was introduced in 0.6.3. It was working fine in 0.6.2.

minecrawler commented 1 year ago

@jpraccio0722 I released a hotfix: v0.6.4. It should be working, now. Please run npm install after switching to the new version.