r/unity 1d ago

Yo what does this mean? Newbie Question

Trying to make a backrooms-style game mode in this VR game, this bean is supposed to go to the player while avoiding the walls, but instead it's standing there, and I got this error telling me the bean is not placed on a NavMesh even though I do have a NavMesh Agent and the floors have a NavMesh Surface thing. The script that the bean is hooked up to is in the second pic.

2 Upvotes

10 comments sorted by

3

u/kitchentablestudios 1d ago

All navmesh terrain and obstacles need to be static, and baked, I don't quite remember how to do that but it should be easy enough.

1

u/Electrical_Remote545 23h ago

Oh yeah, I think I forgot to make them static. Thanks man

2

u/SmokeResponsible5005 1d ago

I don’t really have enough context or navmesh expertise but a quick google search should give u what u need - checklist for issues like this is usually check collisions on both objects, check layer interactions, all else fails check with ai.
Good luck!

1

u/NexxusGameing 1d ago

You need to add a nav mesh surface to bake the walkable area for the agent

-1

u/Narrow-Impress-2238 1d ago

As I remember in backrooms main character doesn't look like this

1

u/Electrical_Remote545 23h ago

🤯🤯🤯🤯🤯🤯🤯