Hello Developers,
We have released two further improvements to spawning to make sure characters are placed consistently and performantly.
- Avatars will spawn more reliably in locations with lower ceilings, instead of popping above the ceiling
- If an avatar has a tall hat, it won’t cause the avatar to spawn above a low ceiling
- Optimized the vertical collision check during a spawn so it is more performant
Previously there were two main issues with how we checked if a character could fit in the space above the spawn location. The first issue was that the height of the character included the height of it’s accessories so characters with especially large hats were sometimes spawned outside areas that developers thought that they should be able to fit in. The other issue was that an additional 1.2 studs of space was sometimes needed due to the character incorrectly being seen as colliding with the ground even though there was nothing blocking the spawn location.
Before:
After:
We also fixed a performance issue with spawning that meant that the size of the world was being calculated unnecessarily each time a character was spawned. This meant that spawning was slower than it needed to be in large worlds.
If you had problems with avatars spawning in tight spaces, please try again and let us know if you have any further issues.