You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## [2.0.4] - 2024-09-25
### Added
- PlayToDevice will now limit the editor framerate to 45 by default in order to lower network congestion. The editor sending too many packets over PlayToDevice could cause significant lag and latency for some users. This limit can be changed in the PlayToDevice window.
- Fix issue of two scenes simultaneously existing for a frame when new scene is loaded.
### Changed
- XRTouchSpaceInteractor renamed to XRSpatialPointerInteractor.
- Update minimum Editor version to 6000.0.22f1.
### Deprecated
### Removed
### Fixed
- Bones are now parented to the parent of the RootBone instead of to the SkinnedMeshRenderer entity. This fixes an issue where if the SkinnedMeshRenderer was on a different hierarchy than the RootBone, the bones might not be affected by any transforms applied to the RootBone.
- Child colliders of XRBaseInteractables are now recognized when using XRTouchSpaceInteractor/XRSpatialPointerInteractor.
### Security
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31-11Lines changed: 31 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,33 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
10
10
For general changes to PolySpatial, refer to the [PolySpatial Changelog](https://docs.unity3d.com/Packages/com.unity.polyspatial@latest?subfolder=/changelog/CHANGELOG.html).
11
11
12
-
## [2.0.0-pre.11] - 2024-08-12
12
+
## [2.0.4] - 2024-09-25
13
13
14
14
### Added
15
15
- PlayToDevice will now limit the editor framerate to 45 by default in order to lower network congestion. The editor sending too many packets over PlayToDevice could cause significant lag and latency for some users. This limit can be changed in the PlayToDevice window.
16
+
- Fix issue of two scenes simultaneously existing for a frame when new scene is loaded.
17
+
18
+
### Changed
19
+
- XRTouchSpaceInteractor renamed to XRSpatialPointerInteractor.
20
+
- Update minimum Editor version to 6000.0.22f1.
21
+
22
+
### Deprecated
23
+
24
+
### Removed
25
+
26
+
### Fixed
27
+
- Bones are now parented to the parent of the RootBone instead of to the SkinnedMeshRenderer entity. This fixes an issue where if the SkinnedMeshRenderer was on a different hierarchy than the RootBone, the bones might not be affected by any transforms applied to the RootBone.
28
+
- Child colliders of XRBaseInteractables are now recognized when using XRTouchSpaceInteractor/XRSpatialPointerInteractor.
29
+
30
+
### Security
31
+
32
+
## [2.0.0-pre.11] - 2024-08-12
33
+
34
+
### Added
16
35
17
36
### Changed
18
37
- Duplicate VolumeCameraWindowConfigurations are not allowed - in each project, there can only be one of each of Metal and Unbounded configurations. There can be multiple Bounded configurations, but each Bounded configuration must have a different OutputDimension.
38
+
- We have narrowed down the conditions under which the package will compile from UNITY_VISIONOS || UNITY_IOS || UNITY_EDITOR_OSX to (UNITY_VISIONOS || UNITY_IOS) && UNITY_EDITOR_OSX. This should eliminate compile errors in the case where you had the OSX editor but not the visionOS or iOS platform dependencies.
19
39
20
40
### Deprecated
21
41
@@ -30,7 +50,7 @@ For general changes to PolySpatial, refer to the [PolySpatial Changelog](https:/
30
50
31
51
### Added
32
52
- Added `Hybrid` app mode. This allows an application to switch between Metal and RealityKit mode at runtime. Hybrid mode requires PolySpatial. Refer to the **PolySpatial Hybrid apps on visionOS** section of the PolySpatial VisionOS documentation for more information.
33
-
- Added the ability to create multiple volume cameras. Refer to the **Volume cameras** section of the PolySpatial VisionOS documentation for more information.
53
+
- Added the ability to create multiple volume cameras. Refer to the **Volume cameras** section of the PolySpatial VisionOS documentation for more information.
34
54
35
55
### Changed
36
56
- Updated instructions for setting up 2.x prerelease packages. This currently requires manually pointing your project's manifest.json at the appropriate package versions.
@@ -103,19 +123,19 @@ For general changes to PolySpatial, refer to the [PolySpatial Changelog](https:/
103
123
104
124
### Added
105
125
- Added installation instructions to the documentation.
106
-
- Added VolumeCamera OnWindowEvent event handler. This is invoked whenever a volume camera's window has state changes, such as opening or becoming unfocused.
126
+
- Added VolumeCamera OnWindowEvent event handler. This is invoked whenever a volume camera's window has state changes, such as opening or becoming unfocused.
107
127
- Added a "PolySpatial XR" Plug-in Provider to XR Plug-in Managment in Project Settings. Allows you to view ARPlane's and hands from device in editor while using Play To Device.
108
128
109
129
### Changed
110
130
- Improved documentation about samples.
111
131
112
132
### Deprecated
113
-
- Volume camera events other than OnWindowEvent are now obsolete and will be removed in later releases. OnWindowEvent will supply all the information the other OnWindow events would normally supply.
133
+
- Volume camera events other than OnWindowEvent are now obsolete and will be removed in later releases. OnWindowEvent will supply all the information the other OnWindow events would normally supply.
114
134
115
135
### Removed
116
136
117
137
### Fixed
118
-
- Updated ReplicateProperty Particle mode to better reflect opacity when using startColor or colorOverLifetime particle modules. Setting opacity to 0 at the start of a gradient or/and at the end will cause different opacityCurves to be applied to the RealityKit particle system.
138
+
- Updated ReplicateProperty Particle mode to better reflect opacity when using startColor or colorOverLifetime particle modules. Setting opacity to 0 at the start of a gradient or/and at the end will cause different opacityCurves to be applied to the RealityKit particle system.
119
139
- Updated ReplicateProperty Particle mode to better reflect startSize and sizeOverLifetime module.
120
140
- Corrected a few documentation errors.
121
141
- Fixed a crash that could occur if a game object that was being used as a bone in a skinned mesh renderer was deleted during runtime.
@@ -208,9 +228,9 @@ For those who are testing on devices at Apple's developer labs or via a develope
208
228
* Unity 2022 LTS (2022.3.11f1) and higher
209
229
* Xcode 15.1 beta 1
210
230
* The Xcode 15 Release Candidate will _not_ work
211
-
* visionOS beta 4 (21N5259k) - SDK
231
+
* visionOS beta 4 (21N5259k) - SDK
212
232
213
-
To learn more about Unity's visionOS beta program, please refer to [this post](https://discussions.unity.com/t/welcome-to-unitys-visionos-beta-program/270282).
233
+
To learn more about Unity's visionOS beta program, please refer to [this post](https://discussions.unity.com/t/welcome-to-unitys-visionos-beta-program/270282).
214
234
215
235
### Related Changelogs
216
236
@@ -234,7 +254,7 @@ To learn more about Unity's visionOS beta program, please refer to [this post](h
234
254
## [0.6.0] - 2023-11-08
235
255
236
256
### Added
237
-
- Particle property transfer render mode now supports StretchedBillboard->LengthScale, and has more accurate emitter shape representation.
257
+
- Particle property transfer render mode now supports StretchedBillboard->LengthScale, and has more accurate emitter shape representation.
238
258
- Added `PolySpatialWindowManagerAccess.entityForIdentifier` in Swift and `PolySpatialObjectUtils.GetPolySpatialIdentifier` to C#, to allow accessing the RealityKit Entity corresponding to a Unity GameObject from Swift code. No guarantees are made about whether there is a RealityKit Entity for any given GameObject, or about the lifetime of the Entity.
239
259
240
260
### Changed
@@ -269,7 +289,7 @@ To learn more about Unity's visionOS beta program, please refer to [this post](h
269
289
270
290
## [0.4.3] - 2023-10-13
271
291
272
-
## Fixed
292
+
###Fixed
273
293
-- Slowdown in visionOS player introduced in 0.4.2 fixed.
274
294
275
295
## [0.4.2] - 2023-10-12
@@ -283,10 +303,10 @@ To learn more about Unity's visionOS beta program, please refer to [this post](h
283
303
284
304
## [0.4.0] - 2023-10-04
285
305
286
-
## Added
306
+
###Added
287
307
- Documentation for Volume Camera around configuration assets.
288
308
- Build error if trying to build for Simulator SDK in Unity prior to 2022.3.11f1.
Copy file name to clipboardExpand all lines: Documentation~/Assets.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ uid: psl-vos-assets
4
4
# PolySpatial Asset Support
5
5
6
6
## Meshes
7
-
RealityKit offers a limited set of predefined vertex formats. Meshes can supply a position, a normal, a tangent, a color, blend weight and blend indices. Unity will supply up to 8 texture coordinates to RealityKit, but note that only the first two UV channels are useable within its MaterialX implementation, limiting the utility of the extra geometric data.
7
+
RealityKit offers a limited set of predefined vertex formats. Meshes can supply a position, a normal, a tangent, a color, blend weight and blend indices. Unity will supply up to 8 texture coordinates to RealityKit, but note that only the first two UV channels are useable within its MaterialX implementation, limiting the utility of the extra geometric data.
8
8
9
-
As Unity and RealityKit use different coordinate systems, some vertex attributes are modified when passing between systems. Handedness swapping is performed for position, normal, and tangent. UVs are flipped for all UV channels.
9
+
As Unity and RealityKit use different coordinate systems, some vertex attributes are modified when passing between systems. Handedness swapping is performed for position, normal, and tangent. UVs are flipped for all UV channels.
10
10
11
11
## Materials
12
12
Please refer to [PolySpatial Material Support](Materials.md) for detailed information about material and shader support on visionOS.
@@ -15,7 +15,7 @@ Please refer to [PolySpatial Material Support](Materials.md) for detailed inform
15
15
Please refer to [Shader Graph Support](ShaderGraph.md) for detailed information about how custom shaders defined via Unity Shader Graph are converted to MaterialX to interop with RealityKit.
16
16
17
17
## Textures
18
-
Unity provides support for 2D textures, 3D textures, and cube maps on visionOS, and takes advantage of native texture compression options.
18
+
Unity provides support for 2D textures, 3D textures, and cube maps on visionOS, and takes advantage of native texture compression options.
19
19
20
20
### Render Textures
21
21
Please refer to [PolySpatial Render Texture Support](RenderTextures.md) for detailed information about support for render textures.
Copy file name to clipboardExpand all lines: Documentation~/FAQ.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ uid: psl-vos-faq
5
5
# Frequently Asked Questions (FAQ)
6
6
7
7
## Q: I see different results running in the visionOS simulator than on Hardware
8
-
* Note that when running in Simulator, some hardware-specific features are not available - most notably AR data. This could mean that the simulated outcomes in the visionOS simulator may be different from the simulation on the Vision Pro headset. Check out Apple’s guide on running your app in the simulator to learn more.
8
+
* Note that when running in Simulator, some hardware-specific features are not available - most notably AR data. This could mean that the simulated outcomes in the visionOS simulator may be different from the simulation on the Vision Pro headset. Check out Apple’s guide on running your app in the simulator to learn more.
9
9
* Please note that Unity is still building towards feature parity with the Metal API on XCode, so you might observe warnings from Metal’s API validation layer. To work around this, you can turn off the Metal API Validation Layer via XCode’s scheme menu.
10
10
11
11
## Q: How can I bring an existing mobile project to the visionOS Mixed Reality platform?
@@ -16,20 +16,20 @@ You can check for a Project conversion guide on the [getting started page](Getti
16
16
17
17
## Q: I enter Play Mode and see no visual or execution difference in my project!
18
18
Ensure that you have **visionOS** as your active build target, and that **RealityKit** or **Hybrid** is selected as the current **App Mode** in **Project Settings > XR Plugin-in Management > Apple visionOS**.
19
-
19
+
20
20
## Q: I'm targeting visionOS with a RealityKit app, but nothing shows up!
21
21
* Ensure you have a Volume Camera in your scene. An Unbounded Volume Camera with its origin positioned in the middle of your scene is a good starting point.
22
22
If one is not present a default one will be created that will include the bounds of every object in the scene, but this may cause objects in the scene within the bounds of the volume camera to be too small to see.
23
23
* Verify that the in-editor preview runtime is functioning. Open the “DontDestroyOnLoad” scene in the hierarchy while playing, and check if there is a "PolySpatial Root” object present. If there is not, please contact the Unity team.
24
24
* When using an Unbounded camera, the platform is responsible for choosing the (0,0,0) origin and may choose a position for it that is unexpected. Look around (literally) to see if your content is somewhere other than where you think it should be. Rebooting the device can also help to reset its session space. It can be helpful to ensure that it is in a consistent location (for example, sitting on the desk, facing forward) every time you boot it up.
25
25
26
26
## Q: Skinned Meshes are not animating!
27
-
* On the **Animator** component, ensure **Culling Mode** is set to **Always Animate**.
27
+
* On the **Animator** component, ensure **Culling Mode** is set to **Always Animate**.
28
28
* If the model is imported, navigate to the **Import Settings** for the model. Under the **Rig** tab, ensure **Optimize Game Objects** is unticked. Some models may not even have this setting; in that case, it should be good as-is.
29
29
* Certain models may contain a skeleton (a set of bones in a hierarchy) that are incompatible with RealityKit. To be compatible, a skeleton must have the following attributes:
30
-
1. A group of bones must have a common ancestor GameObject in the transform hierarchy.
31
-
2. Each bone in the skeleton must be able to traverse up the transform hierarchy without passing any non-bone GameObjects.
32
-
* In general, skeletons that have a non-bone GameObject somewhere in the skeleton (often used for scaling or offsets on bones) are not supported.
30
+
1. A group of bones must have a common ancestor GameObject in the transform hierarchy.
31
+
2. Each bone in the skeleton must be able to traverse up the transform hierarchy without passing any non-bone GameObjects.
32
+
* In general, skeletons that have a non-bone GameObject somewhere in the skeleton (often used for scaling or offsets on bones) are not supported.
33
33
34
34
## Q: I see an error on build about ScriptableSingleton
35
35
* This comes from the AR Foundation package and is benign. You can ignore this error.
@@ -38,7 +38,7 @@ If one is not present a default one will be created that will include the bounds
38
38
* Please file a bug with reproduction steps using the bug reporter found in the Help menu. If this error is blocking you and you don't need the particular feature, you can disable the feature in Player Settings > PolySpatial > Disabled Features.
39
39
40
40
## Q: My TextMeshPro text shows up as Pink glyph blocks or My TextMeshPro text is blurry**
41
-
* Locate the shader graphs included in the visionOS Package (visionOS/Resources/Shaders) and right click -> Reimport.
41
+
* Locate the shader graphs included in the visionOS Package (visionOS/Resources/Shaders) and right click -> Reimport.
42
42
43
43
## Q: My content is too dark in visionOS simulator**
44
44
* In the visionOS simulator, try using Device -> Erase All Content and Settings and/or switching to a different environment (Museum (Day) versus Living Room (Day), for instance).
@@ -63,6 +63,9 @@ If one is not present a default one will be created that will include the bounds
63
63
## Error: `Failed to find a suitable device for the type ...`
64
64
- This sometimes happens after an XCode upgrade. Restarting your computer usually fixes it.
65
65
66
+
## Error: `ARM64 branch out of range (-140497472 max is +/-128MB)`
67
+
- If you see this error when building in Xcode, try enabling `Project Settings > XR Plug-in Management > Apple visionOS > IL2CPP Large Exe Workaround` and rebuilding the Xcode project from Unity.
68
+
66
69
# Play to Device Host
67
70
**I'm having trouble connecting to the Play to Device Host**
Copy file name to clipboardExpand all lines: Documentation~/GettingStarted.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@ Please refer to [Development & Iteration](DevelopmentAndIteration.md) for inform
11
11
These guides have step by step instructions for getting started with visionOS.
12
12
* In [Starting a new visionOS project from scratch](TutorialCreateFromScratch.md), you will find a step-by-step tutorial that guides you through installing, setting up and deploying a simple Unity app from scratch to target visionOS and the Apple Vision Pro.
13
13
* In [Starting a new visionOS project from the Immersive App Template](TutorialCreateFromTemplate.md), you will find a step-by-step tutorial for setting up a new project using the Immersive App Template.
14
-
* In [Sample Contents: Learn how to use visionOS with Application Examples](Samples.md),
15
-
you will find a wide range of vertical slices demo projects explaining how to develop for visionOS using PolySpatial technology.
14
+
* In [Sample Contents: Learn how to use visionOS with Application Examples](Samples.md),
15
+
you will find a wide range of vertical slices demo projects explaining how to develop for visionOS using PolySpatial technology.
16
16
17
17
## Porting Existing Projects
18
18
19
-
When porting existing Unity projects to visionOS, several considerations need to be taken into account. The biggest limitation is that some core Unity features aren't supported, and others provide a reduced feature set. In addition, input is different, and processing power and supported components will vary. Sometimes you will have to develop your own systems to support your unique project features and work around these limitations.
19
+
When porting existing Unity projects to visionOS, several considerations need to be taken into account. The biggest limitation is that some core Unity features aren't supported, and others provide a reduced feature set. In addition, input is different, and processing power and supported components will vary. Sometimes you will have to develop your own systems to support your unique project features and work around these limitations.
20
20
21
21
You can find information about [porting VR experiences to visionOS](MetalApps.md#porting-vr-experiences-to-visionos), find out which [Unity features and components](SupportedFeatures.md) are currently supported for immersive apps, or how to use [Project Validation](PolySpatialXRProjectValidation.md) for helpful in-editor assistance to port a project.
Copy file name to clipboardExpand all lines: Documentation~/Glossary.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ uid: psl-vos-glossary
17
17
-**(Unity) Sim Space**: The world space of a Unity Sim. While a typical Unity app simulates and renders objects in the same space, these may differ in a PolySpatial app.
18
18
-**(Unity) Sim Physics**: The physics and colliders of the Unity Sim.
19
19
20
-
-**Vanilla Unity**: In the context of PolySpatial, Vanilla Unity refers to a non-PolySpatial Unity app.
20
+
-**Vanilla Unity**: In the context of PolySpatial, Vanilla Unity refers to a non-PolySpatial Unity app.
21
21
22
22
-**PolySpatial Host** (or Backend): The system that's responsible for actually rendering the objects controlled by the **Unity Sim**.
23
23
-**Host (or Backend) Space**: The world space of the backend or Host in which a PolySpatial app is running. This may differ from **Unity Sim Space** because the host environment may allow apps to be moved around independently (for example, relocated to another position and volume in the real world).
0 commit comments