Does the issue occur in the editor or during gameplay?
Gameplay.
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:
Grid Movement, all camera types, haven't tested other movement types.
Briefly describe the issue you're experiencing:
When making the player model take up 2x2 tiles in the voxel editor, while loops and movement scripts affecting the player seem to break. Changing the model back to a 1x1 resolves the issue perfectly.
Are there any errors in the in-game debug console or external console window?
No.
Provide the steps necessary to reproduce the issue:
Load the default character model (gray block man), write a script similar to this:
increase_stat("speed", 100);
set_player_movement_locked(true);
while player.front_tile != null and player.front_tile.characters == null do
log_message("do");
give_skill("SKILL_0002");
use_skill("SKILL_0002");
remove_skill("SKILL_0002");
move_player(player.front_tile);
end;
log_message("end");
give_skill("SKILL_0003");
use_skill("SKILL_0003");
remove_skill("SKILL_0003");
set_player_movement_locked(false);
decrease_stat("speed", 100);
Then assign that script to a key, or bind it to a skill that you would then use during gameplay. Then load up gameplay and execute the script. The player will not move as intended, and the script will suddenly stop functioning, lag the game for a few seconds, and conclude in the middle of the loop.
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):
https://www.dropbox.com/scl/fi/jqfmi4ds6e3xypyxuj2me/The-Demon-Queen-of-Kissing-Girls.zip?rlkey=njauh1kper0w2ng22wd2zu61d&st=pvls2ign&dl=0