Give Page Feedback

FAQ - Why Isn't My World Updating?

If your World is loaded when you enter Play Mode or otherwise initialize SAM, but you do not notice any changes to the World (assets are not being loaded or unloaded) as the player moves around the scene, this section is for you!

Improper Player Assignment

It's important to understand that the position of the Player assigned to an Active Grid is what drives all loading behavior on that Active Grid. If the correct player is not assigned, not only will the starting assets that are loaded when SAM is initialized likely be incorrect, the tracking behavior will not be accurate (or even non-functional). So, what is the correct Player to use?

In 99% of cases, the Player will be the game object whose transform position changes as your human player navigates the world. Put simply, it's the character in the game world that is running/flying/moving around.

With that said, Player game object hierarchies can become quite complex, so sometimes deciding which Game Object/Transform to use as the Active Grid Player is not as simple as it seems. In these situations, we advise the following:

1) When you enter Play Mode and after you initialize SAM, click on the game object that you assign to the Player field. As you move your character around the game world, is the position of this object's Transform changing? If it is not, then you have assigned the incorrect object as the Player.

2) If the Transform's position is changing, you should also confirm that this position reflects the accurate position of your player character within the game world. You can do this by clicking on the game object while the game is running and monitoring the transform handles shown in the scene view.

Procedurally Generated Players

In some situations, the correct Player to assign may not be spawned or created until after the game is running. While it may be tempting to assign a dummy object to the Active Grid, we highly discourage this practice as it can result in additional issues.

Fear not, however! We have accounted for such situations and offer several different mechanisms to account for them. Please see the Procedural Players Section of the Players Chapter for more information.

Procedural Players