Hi there,
I recently imported a project I was working on in U4 to U5 and it went surprisingly smoothly (aside from a few sound files which needed re-encoding from 32bit), which is awesome!
One issue I did have was that the Navmesh failed completely. In U5, if you click anywhere other than a hotspot, the player character will skip around, and if you click on a hotspot then the player will move towards it, but will teleport to a seemingly random location part way through, then complete the journey.
I've tried re-baking the NavMesh, deleting it and adding a new one, I've tried adding a static obstacle but the character seems to ignore it. I've searched around for people with similar issues and there seems to be one on the forum but it seemed to resolve itself randomly (I tried the same steps but it didn't work). I've found a couple of other threads online which describe similar issues, but none of them have satisfactory results. I also noticed that the NavMesh settings are somewhat different in U5, it looks as though you can't set the Agent radius and height as low for example. My settings are as follows:
Agent Radius - 0.5
Agent Height - 3
Voxel Size - 0.25
Min Region Area - 0
I've also set my characters' Circle Collider Radius to 0.0001 (which is now situated on the Sprite Child).
Any ideas?
UPDATE - The teleport seems to occur when the user is either standing at or just reaching a hot spot.It will also teleport when clicking elsewhere on the screen if the character is in motion.
Comments
It's also important to keep the navmesh as close to your segments as possible - such a large height value would likely cause problems, though I haven't had a problem with lowering it myself to a better value.
Beyond that, I can't give much advice because I can't see what you've done or what your scene looks like. Though I wonder: did you mean a Capsule Collider? Because you shouldn't be using a Circle Collider on a player guided by a baked NavMesh.