com.unity.polyspatial 2.0.4
Source docsNotes: processedReleased September 30, 2024
Unity Compatibility
Minimum Unity: 6000.0 (22f1)
Package Dependencies
- com.unity.collections (2.4.3)
- com.unity.ext.flatsharp (1.1.1)
- com.unity.inputsystem (1.10.0)
- com.unity.modules.particlesystem (1.0.0)
- com.unity.modules.video (1.0.0)
- com.unity.nuget.newtonsoft-json (3.2.1)
- com.unity.shadergraph (17.0.3)
- com.unity.textmeshpro (3.0.7)
- com.unity.ugui (2.0.0)
- com.unity.xr.core-utils (2.3.0)
📈 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.
