Rover Mission crashes on PS4 and Nintendo Switch
Partner Team Reporting:
CreatorLabs
Verification builds:
1.16.201 PS4 (PS4 slim)
Summary:
There are multiple reports from players on a PS4 slim, a PS4 original, and a Nintendo Switch, who can not play the map Rover Mission because the game crashes when trying to start the tutorial.
Impact:
Live content is unplayable for multiple people.
Repro Steps:
I am unaware if this crash is also happening on the PS4 Pro. I guess not, since I did not get any reports from players on a PS4 Pro. So to recreate this issue, please use a PS4 slim or a PS4 original. I was able to recreate this myself on a PS4 slim.
I could not test it on a Nintendo Switch myself, but I got a report, which described the same issue on there.
There are multiple ways to cause a crash:
Way 1: Trying to start the tour:
- Download the map Rover Mission (v1.0.3) from the marketplace and create a new world with it.
- Join the world.
- Press the start button and wait until the first cutscene ends.
- Wait about 20 seconds.
Way 2: Calling the function, which causes the crash, when trying to start the map:
- Download the map Rover Mission (v1.0.3) from the marketplace and create a new world with it. Activate cheats to be able to use commands.
- Join the world.
- Use the command '/function crlabs/level/load/setupObjects'
- Wait about 20 seconds.
Way 3: Joining and rejoining immediately:
- Download the map Rover Mission (v1.0.3) from the marketplace and create a new world with it.
- Join the world.
- Leave the world.
- Try to join the world again without closing Minecraft.
I have been able to find even more ways to crash the game with Rover Mission. Though they are probably being caused by the same issue.
Observed Results:
Minecraft crashes in all three scenarios.
Expected Results:
Minecraft should not crash and the map Rover Mission should be playable.
Screenshots/Videos attached: Yes/No
Yes
Regression Builds:
In every build except the build for PS4 and Nintendo Switch
Notes:
I tested this bug on Windows 10, Android, and PS4. And it only appeared on a PS4 (slim). The bug was also reproduced by a player on a Nintendo Switch.
This issue does not appear on PS4 when creating the world on Minecraft realms and playing on the realm.
And if the world is hosted by another device, where the game normally does not crash, then Minecraft on PS4 also does not crash when the PS4 player joins and plays on the multiplayer world hosted by the second device.
I was able to find out that the function "crlabs/level/load/setupObjects" causes a crash. If you reset the score "currentLevel" for the entity @e[tag=gameController] or you remove the tag "gameController" from the entity @e[tag=gameController], then the function does not crash the game. So I am guessing that this issue has to do with the number of commands executed in one tick.
The function does not get called repeatedly. It is just called once in a while, when a new level is loaded or a program is started. There is also no recursion happening in there.