Typing /reload about 140 times causes the following error to appear:
ReferenceError: Native object bound to prototype does not exist. at Vector (native)
manifest.json of behavior pack included:
"module_name": "@minecraft/server",
"version": "1.1.0-beta"
Scriptfile contained:import { world, Vector} from "@minecraft/server";
// create new Vector
let vec = new Vector(0, 0, 0)
// count the reloads
world.getDimension(`overworld`).runCommandAsync(`scoreboard objectives add reload dummy`)
world.getDimension(`overworld`).runCommandAsync(`scoreboard objectives setdisplay sidebar reload`)
world.getDimension(`overworld`).runCommandAsync(`scoreboard players add @a reload 1`)
Beta APIs
were enabled.
Edit:
First I was able to recreate this bug consistently at the 140-reloads mark, however now as I am uploading the behavior Pack I am able to consistently recreate this bug across different world seeds at the 145-reloads mark.
I have no Idea why it happens at 145 now, not 140.
Leaving and rejoining the world fixes the issue until you type /reload the certain amount of times again.
To recreate use the behavior pack I provided in a new world which has Beta APIs enabled and type /reload until the error appears.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Did you intend to attach a behavior pack to this ticket? There is none present.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki