Search Issue Tracker
Fixed
Fixed in 0.3.3-exp.0
Votes
1
Found in [Package]
0.3.3-exp.0
Issue ID
AVPB-143
Regression
No
UNITY_VISIONOS defines are undocumented
Unity has a feature where platform-specific DEFINEs are set in all C# code. For example UNITY_IOS or UNITY_PS5.
When running against the experimental Apple Vision platform, UNITY_IOS is not set. However, UNITY_VISIONOS is set.
But UNITY_VISIONOS is not documented. It is not in
https://docs.unity3d.com/Manual/PlatformDependentCompilation.html
And it is not found if I search in
https://docs.unity3d.com/Manual/visionOS.html
This wasted me a bunch of time until I found it by accident. Document it.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
- Dynamic text is rendered in the background when it is inside the <font> tag
Resolution Note (fix version 0.3.3-exp.0):
UNITY_VISIONOS define has been documented in the 2022.3 Unity Manual