Skip to content

2.0.0-pre.3

Choose a tag to compare

@Needle-Mirror-Bot Needle-Mirror-Bot released this 30 Jul 22:54

[2.0.0-pre.3] - 2024-04-22

Added

  • Added PolySpatial Static Batch Element component to support static batching relative to a root node or the scene root.
  • Added support for WebCamTexture to PSL.
  • Added support for Simple Noise, Parallax Mapping, Fog, and View Vector shader graph nodes.
  • Added MaterialX shader graph data extension and Unlit Tone Mapping option to enable tone mapping on unlit shader graph targets.
  • Added Minify ShaderGraph Node Names option (enabled by default), which improves load performance on visionOS for large shader graphs.
  • Added Quit as an option to the license check dialog to allow users to exit the app.
  • Added limited support for File source to the Custom Function shader graph node. See "Source Types" in the PolySpatial documentation for details.
  • Added a new auxiliary menu in Play To Device.
  • Added support for MaterialPropertyBlocks (currently requires dirtying the renderer via Unity.PolySpatial.PolySpatialObjectUtils.MarkDirty).
  • Added support for Additive and Premultiply blending modes for URP unlit/lit particle shaders with BakeToMesh.
  • Regular Unity Cameras (Camera component) are mirrored to cameras in the PolySpatial space. This only affects in-editor preview.
  • Added support for image masking for UGUI components.
  • Added ability to opt-out of PolySpatialRaycaster support if the user wishes to use a different raycaster.
  • Added support for non-Exposed shader graph properties (such as matrices, which cannot be exposed).

Changed

  • Changed how the Play To Device window validates new device entries.
  • Play to device Window is disabled when in incorrect build target or app mode configurations.
  • Play to device UI will appear in a new bounded volume when exiting play mode from an unbounded scene.
  • If an XROrigin exists "Auto-Create Volume Camera" will parent the VolumeCamera it creates to it.
  • Play to device runtime app further clarifies how to get started on the Editor side of Play to device.
  • Switched the Reflection Probe component validation to a message.
  • Removed the Fix button from the unsupported components validation. An unsupported component should not have any effect in the scene and can still be enabled.
  • Selectable UI elements (Buttons, Toggles, etc.) that are not Interactable will no longer show the visionOS hover effect when hovered.

Deprecated

Removed

  • Removed obsolete events (OnWindowOpened, OnWindowClosed, OnWindowFocused, OnWindowResized) from VolumeCamera. Please use OnWindowEvent to listen for window state changes.

Fixed

  • Fixed validation messages showing in the Inspector view when they are disabled.
  • Fixed UGUI elements being visible when Canvas was disabled.
  • Fixed sign of angles for Rotate About Axis shader graph node.
  • Fixed failure to transfer HDR color properties on shader graph materials on simulator/device.
  • Fixed console error message reporting sysTypeDispatchData.klass == klass.
  • Fixed Play to device UI sometimes having incorrect scale when exiting play mode.
  • Fixed implementation of shader graph Object node.
  • Fixed color space of TextMeshPro vertex colors.
  • Fixed colors applied to UGUI images.
  • Fixed crash that may occur when using a Box Collider on something that is also within a RectMask region.
  • Fixed color space of RGB24 images.
  • Fixed accidental application of tone mapping to built-in unlit materials.
  • Fixed visionOS Sorting Group "Apply to Descendants" option not applying to descendants created after sorting group initialized.
  • Fixed ArgumentNullException on MaterialPropertyBlock.SetTexture for UI elements.
  • Fixed tangent space output of View Direction shader graph node.
  • Fixed typo on PolySpatial settings on the Project Validation enum.
  • Fixed failure to hide UI elements contained in disjoint nested RectMask2D elements.
  • Fixed warnings for Custom Function shader graph nodes upstream of MaterialX "Off" keyword.
  • Fixed inverted textures when using Replicate Properties particle system mode.
  • Fixed animated material properties (currently requires dirtying the renderer via Unity.PolySpatial.PolySpatialObjectUtils.MarkDirty).
  • Fixed shader graph Voronoi node discontinuities and added support for Cells output.

Security