Skip to content

Remove unused imoprts and refine VisionOS compatibility#5

Open
MrGcGamer wants to merge 2 commits intoBuildingVolumes:mainfrom
MrGcGamer:main
Open

Remove unused imoprts and refine VisionOS compatibility#5
MrGcGamer wants to merge 2 commits intoBuildingVolumes:mainfrom
MrGcGamer:main

Conversation

@MrGcGamer
Copy link
Copy Markdown
Contributor

This pull request makes several small but important changes to improve platform compatibility and clean up unused code. The main focus is on restricting PolySpatial-specific code to builds where it is explicitly included, and removing unnecessary using statements.

Platform compatibility improvements:

  • Updated preprocessor directives in GeometrySequenceStream.cs to only include PolySpatial-related code when both UNITY_VISIONOS and INCLUDE_UNITY_POLYSPATIAL are defined, preventing accidental inclusion in builds that don't require PolySpatial.

Code cleanup:

  • Removed an unused using UnityEditor.Experimental.GraphView; directive from PointcloudRenderer.cs to reduce unnecessary dependencies.
  • Removed an unused using static UnityEditor.Experimental.GraphView.GraphView; directive from PointcloudRendererRT.cs for cleaner code.

MrGcGamer added 2 commits May 4, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant