Fixes & Optimizations

18 days ago

There's no normal blog this week, but we're releasing a small maintenance update containing fixes, performance improvements and quality of life changes.

Stability

  • Fixed several rare crashes in rendering, animation, texture streaming and Vulkan.
  • Fixed a crash when importing meshes that are too complex.
  • Fixed a crash when saving a Shader Graph while the game is playing.
  • Crash reports now include more detail about GPU and video memory crashes, and the game's own log.

Graphics

  • Screen space reflections are now on by default and controlled by a quality setting.
  • Fixed sun shadow blur smearing in one direction at the highest filter quality.
  • Fixed striped self-shadowing on spot light shadows.
  • Fixed reflections stretching near the edges of reflection probes, and realtime probes reflecting the wrong side.
  • Fixed models with negative scale rendering inside out.
  • Fixed stencil effects being ignored in the depth prepass.
  • Fog can now have a directional colour, and the skybox can use its own fog.

Performance

  • Faster lighting and shadow filtering on the GPU.
  • Faster UI blur effects, which are now cached between frames.
  • Particles use less memory and simulate faster.
  • Terrain uses less memory until it's needed, and its collision builds faster.
  • Fewer allocations in UI layout, text rendering, traces and tags, for fewer hitches.

Gameplay

  • Fixed collisions on dense terrain and tessellated ground, including rolling objects launching off flat seams.
  • Fixed heavy objects not resting properly on locked platforms.
  • Fixed static objects adding extra rolling resistance.
  • Fixed TriggerHurt dealing damage on the wrong timer.
  • Fixed physics not working after a scene reload in some cases.

Multiplayer

  • Fixed players failing to connect in lobbies when a direct connection can't be made. Traffic now goes through the host instead.
  • Fixed stale networked values when components are destroyed.

Menu and Settings

  • New "Game" volume slider and a streamlined push to talk option.
  • Cleaner game and map pages with usage stats, clearer ratings, file sizes and workshop tags.
  • Garry's Mod maps now show thumbnails, and the map picker no longer lists skybox maps or cuts off titles.
  • Escape now always backs out, even when something else is using the keyboard.
  • Smoother startup splash screen.
  • Cloud content now checks file contents instead of just file size to decide whether it needs downloading.

Dedicated Servers

  • Output starts as soon as the server starts, with a clearer message when it's idle.
  • The overlay shows the real max player count, and goes offline when the server is idle.
  • Up and down arrows browse command history.
  • The server's Steam ID (and public IP if enabled) is printed on startup.

Security

  • Several security fixes.

For Creators

  • Faster texture compression, sky prefiltering and sprite sheet compiles.
  • Scene saving is about twice as fast in projects with many cloud assets.
  • Fixed publishing Hammer decals and Mapping Tools geometry, and editor-only data is no longer included in published games.
  • Panel ControlSheets now match the editor inspector.
  • Colour properties show as a full-width swatch.
  • Dragging multiple GameObjects into the Asset Browser creates a prefab for each.
  • The scene browser collapses objects without relevant components.
  • Added a grid option to the fast texture tool.
  • Views can turn off debug drawing completely.
  • UI now supports the :disabled, :enabled, :checked, :root and :focus-within selectors, and An+B in :nth-child.
  • Fixed transform-origin and perspective-origin keyword order, panel text and panel sibling ordering.
  • Fixed the orthographic camera's screen projection.
  • Fixed ModelBuilder textures getting stuck on a placeholder.
  • Fixed the external changes dialog never showing for scenes.
  • Fixed asset folder renames, the global scale tool on rotated objects, curve handle dragging and the viewport options closing on mouse input.
  • Fixed the editor hanging after hotload on macOS.
  • Added Input.Keyboard.Capture for capturing key combinations.
  • Added Scene.ChangeScene overloads that take a SceneFile or a path.
PatchBot
s&box

PatchBot will keep your Discord channel up-to-date on all the latest s&box patch notes.