Scripts in Space are broken

Scripts in Space are broken

Short description of the bug
When running a script, however simple, many error events are generated and script is terminated.

My test space is: xav test | Cryptovoxels Space

What you see

My test space has a single script:

console.log('hello')
parcel.on('playerenter', e => {
  console.log('player entered')
})

In console logs I can see “hello” followed by 10 error events. There is no “player entered”.

What you expect to see

The Error event should not be there and I should see both “hello” and “player entered” in the console log.

System Details

  • browser: Google Chrome
  • browser version: Version 94.0.4606.81 (Official Build) (x86_64)
  • operating system: macOS Big Sur Version 11.5
  • how are you using cryptovoxels
    • [x] desktop web
    • [ ] mobile web
    • [ ] native VR app

Tagging @Fayelure [even though he reads all posts anyway :grin:].

Heya @0x8a29a515
Fix coming up in 5 minutes in 8.15.3

Yay ! Thanks @Fayelure :pray: