Molang Queries "position" and "is_item_name_any" throw content log errors when used on player
Partner Rank: 3
Partner Team Reporting:
Spark Universe
Verification builds:
1.18.20, 1.18.30 Windows 10
Summary:
Molang Queries "position" and "is_item_name_any" throw content log errors when used on player and the player is rendered in the pause menu.
Impact:
Causes content log errors on several upcoming pieces of content
Repro Steps:
- Enable Content Log GUI in the "Creator" settings
- Place the attached player animation file in the "animations" folder of a resource pack
- Enter the game with the resource pack enabled
- Open the Pause screen by pressing ESC
Observed Results:
An error message appears in content log:
Error: query.is_item_name_any called without a specified entity

Expected Results:
No error should appear
Screenshots/Videos attached: Yes
Regression Builds:
-
Notes:
I noticed that it affects the queries "position" and "is_item_name_any". It probably affects some other queries as well.