com.unity.polyspatial 2.0.4

com.unity.polyspatial

Source docs
Notes: processedReleased September 30, 2024

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 6000.0 (22f1)

Package Dependencies

📈 Improvements

  • The `renderers` property of `VisionOSSortingGroup` has been changed from a `List` to and `ObservableList`. Changes to the list are now detected automatically instead of requiring manual reassignment of the property.
  • Changed `PolySpatialSettings.instance`/`PolySpatialUserSettings.instance` to Pascal case (`PolySpatialSettings.Instance`/`PolySpatialUserSettings.Instance`).
  • Updated properties and fields of `VisionOSBillboard`, `VisionOSSortingGroup`, and `VisionOSVideoComponent` that were using camelCase to PascalCase, the standard for public properties under the Unity namespace.
  • The `OnWindowEvent` and `OnViewpointChanged` events on `VolumeCamera` have been renamed to `WindowStateChanged` and `ViewpointChanged` to align with Unity event naming.
  • Exclude Android from runtime asmdef's.
  • Update minimum Editor version to 6000.0.22f1.

🔧 Bug Fixes

  • Fix for running unit tests without URP installed.
  • Fixed "Unsupported target type" warning for shader graph conversion for HDRP/when URP not installed.
  • Added built-in targets to particle bake-to-texture shader graphs.
  • Fixed error logged on import: `A new PolySpatialSettings asset was initialized when its asset already exists. Was PolySpatialSettings.instance used by an asset importer?`
  • Fixed behavior of SwiftUI sample to correctly handle closed window.
  • Fixed "Assertion failed on expression: '!GetMainEditorWindow()'" that shows up in batchmode.
  • Fixed BakeToTexture particles showing an unexpected mesh momentarily on play in editor play mode.
  • Fixed condition in which BakeToTexture particles would be culled unintentionally in editor play mode.
  • Fixed "Asset destroyed while still referenced" warning for bake-to-texture particles.
  • Fixed error logged when connecting to Play to Device: `Stack traces not supported for logs triggered off the main thread.`
  • Fixed KeyNotFoundException caused by disabled LineRenderers in active GameObjects.
  • Improved performance when using shader graphs that use PolySpatial Lighting/PolySpatial Volume to World nodes when volume camera is transformed (and fixed the nodes' behavior with multiple volumes).
  • The Play to Device app's connection menu will update when the IP address of the device changes.
  • The supporting backing camera for BakeToMesh particles will only be created if particles exist in the scene.
  • The `ViewpointChanged` event is now listed in the events tab of the `VolumeCamera` Inspector.