Does the issue occur in the editor or during gameplay?
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:
Grid-movement, rogue-like mode
Briefly describe the issue you're experiencing:
Entity script runs twice, when entity collides with the player.
Are there any errors in the in-game debug console or external console window?
No
Provide the steps necessary to reproduce the issue:
- Add some on-collide script for NPC (player and NPC must be passable).
- Move NPC and player on a same tile.
- Now entity's script will run twice.
Extra: If a player will be impassable and if a player collide with passable entity, entity's script runs only one time
Provide a download link to the bare bones project (if applicable):