Marcin Debicki Posted January 4, 2022 Share Posted January 4, 2022 Hello, I have a problem with lading properly a character controller. Basically in order to save resources (and try to avoid loading unneeded terrains) what I try to do: I have GameManager object which is checking what location should be loaded. If GameManager cannot determine location (for instance I am not loading any save game) then location of existing object called PlayerLocation is used. I ensure in editor that PlayerLocation is placed above some terrain. GameManager instantiates prefab Player in given location. This Prefab is a single object containing actual character controller, RigidBody, TerrainLoader and RigidBodyWaitForTerrainLoad. Here is how it works: If PlayerLocation is in world origin (0,0,0) then everything works just fine If PlayerLocation is in some other location requiring some other tiles to load then: Loading screen does not even progress. RigidBodyWaitForTerrainLoad decides that terrain is already loaded so loading character controller eventually progresses however stil character object falls through terrain. I have noticed some strange behavior of terrains as they are also being moved for some reason so I am now disabling floating point fix but otherwise I am out of ideas what may be wrong. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now