I’m making a path for an object using a navigation mesh and a some ponts that it has to follow. Since my object is a prefab, the poit’s that i set up in the script have to be prefabs too, my problem is tha the prefabs don’t mantain the position. i can even put it maually, but the object acts like the’s no existing points. If i put the object in the scene and the point as empty (not prefab) the object functions normally.
You have to instantiate prefabs from your script to create instances of prefab to use as points. It is explained in this manual page about Instantiating Prefabs at runtime
But no, if i spawn the prefab too, my object won’t get thet as his target, but the non invoked prefab, the original