Hi Chris,
Noticed something strange in my gamw where clicking with an area in my scene causes the player to leave the nav mesh. There is no hotspot or interactive element to cause this, seevideo:
Unity - 2020.30.f1
AC = 1.79.3
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
It looks like you have a tiny NavMesh polygon in the area he's moving to - possibly the hole you've assigned in the NavMesh.
You can see here that there is nothing there in my nav mesh hole
https://www.dropbox.com/scl/fi/794mtyfvszeicrmy9pru7/NavMesh.png?rlkey=u7j29e7g6im257kzizp1tm8j1&dl=0
Any more info on this please?
I'm referring to this:
The Player is moving here - remove it to prevent this behaviour.
Problem is, this does not appear when not in gameplay?
It's coming from somewhere, and the video won't reveal where. Select it in the Hierarchy and see.
You can see the hierarchy in play mode here:
https://www.dropbox.com/scl/fi/l0fnppse58k6bswkmemt6/OddHole.png?rlkey=tvnf7282wlx5yt79wfy25usy6&dl=0
it is defo on the main Nav mesh and not the hole itself, And does not appear in edit mode, only in play mode.
It is the same shape as the hole - I can only assume the two are linked.
Check your Console for related messages, and try rebuilding both the NavMesh and the Hole with reset Transforms (i.e. Position, Rotation and Scale values cleared to their defaults).