Stable 1.0.0 script APIs require "Beta APIs" world toggle to function in 1.19.60
Partner Rank: 2 (Important)
Partner Team Reporting: Oreville Studios
Verification builds: 1.19.60.26 (internal partner builds and public-facing Minecraft Preview versions are affected)
Summary:
The initial 1.0.0 script APIs (found at https://learn.microsoft.com/en-us/minecraft/creator/documents/update1.19.50) were released from the experimental "Beta APIs" toggle in release version 1.19.50. In 1.19.60 beta and preview versions, it appears this was reverted so that all scripting requires the experimental "Beta APIs" toggle, even if the script is not experimental.
Impact:
While this does not impact any content live on the store as scripting version 1.0.0 is not yet usable, it certainly impacts our own content in development (and likely upcoming content besides our own). We cannot ship worlds with experimental toggles, so this would render scripting in future Marketplace content unusable.
Repro Steps:
- Download and import the attached mcworld file in any 1.19.60 beta version.
- Open the world.
The world has a script attached that uses stable APIs to make a simple loop that prints "hello world" to the chat every tick:
import { system, world } from "@minecraft/server";
system.run(function tick() {
system.run(tick);
world.getDimension("overworld").runCommandAsync(`say hello world`);
});
Observed Results:
No messages are logged to the chat.
Expected Results:
The chat should spam "hello world", indicating that the script is running. The expected result can be achieved by either: importing and loading the world in 1.19.50.1, or enabling the "Beta APIs" world toggle in the world settings in 1.19.60.
Screenshots/Videos attached: No
Regression Builds: 1.19.50.1
Notes: See attachment for world file