Does the issue occur in the editor or during gameplay?
Editor (?) (while using debug console in-game)
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
N/A
Briefly describe the issue you're experiencing:
Game will crash while attempting to print "player.active_tool["id"]"
This will crash while trying to print other values in the active_tool array (e.g. print(player.active_tool["tags"]) ).
Are there any errors in the in-game debug console or external console window?
N/A
Provide the steps necessary to reproduce the issue:
- Create a new item and give it properties that you can print in the debug console in-game.
- Set the item as a tool in its properties window.
- Launch the game.
- Open debug console and use "give_item" command to get the tool into the inventory, close console.
- Select the tool with the tool icon on-screen.
- Open debug console again and enter "print(player.active_tool["id"])"
- The game should have crashed a moment later, leaving the editor open.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
N/A