Functions using hidden fake players (with "#" as the first character) cannot be found.
Partner Rank: 2
Partner Team Reporting: RASA Studios
Verification builds and Platforms: 1.16.40 Win10 Retail
Summary: Functions using hidden fake players (with "#" as the first character) cannot be found.
Impact: Content released on the Marketplace that uses such functions breaks.
Repro Steps:
- Create a function with a scoreboard command that includes a hidden fake player. For example:
scoreboard players set #FakePlayer TestObjective 1
- Run the function in-game.
Observed Results: Function cannot be found/does not run.
Expected Results: The function runs and the score of player "#FakePlayer" on the objective "TestObjective" is set to 1.
Screenshots/Videos attached: Yes - attached are the two screenshots showing the function itself, and the function not being found in-game.
Also attached is the behaviour back with two functions; the "example" function, which contains the bug, and a "version" function, to show that the behaviour pack works.
Regression Builds: Unknown.
Notes:
We noticed this issue after publishing "Jungle Royale", which uses a function with hidden fake players in the reset function for the games. This meant that the map broke for players on this client after playing any game, as the reset function did not run. Since two of the games used the hidden fake players, they broke entirely.
We only found this to be an issue specifically on the Win10 Retail client, and not the Win10 Dev client, or other consoles.