Library\PackageCache\com.unity.xr.management@4.4.1\Editor\Metadata\KnownPackages.cs(12,70): error CS0117: ‘BuildTargetGroup’ does not contain a definition for ‘VisionOS’
Somebody Help me…
I’ve already tried downloading 4.4.1 and modifying it to 4.4.0, but it didn’t work well with more errors.
Is there any way to download a lower version of the XR Management package from the ground up?
simply comment out the areas containing the #if unity vision pro (or something like that) parts
so for example
/*
#if Vision_Pro
#endif
*/
There should be 2 instances of this in the script.
I had this issue too, but it was a few days ago, so I’m doing this out of my memory.
But if I recall correctly, downgrading to 4.4.0 did resolve the issue, so maybe it upgraded the package again, or something went wrong while downgrading. Either way, commenting the area out should work.
4.5.0 should be available in the next couple of weeks. I will add this thread to our internal ticket so that I remember to update it when the release is available
You can go to version 4.4.0 by typing in the package name in ‘install by name’ in the package manager by clicking the plus and set the option for version to 4.4.0
This is STILL broken in the current 2023.2.18f1 when adding the com.unity.xr.management using the auto-popup-wizard when creating a new project (in my case “HDRP+VR”).
Also, the Version History for that package in the PackMan is empty, so you are forced to hack manifest.json yourself.
Make sure your headset is plugged in ( this can be with a link cable if youhave oculus) . after you verify that your headset is pluggin , hit the play button. the error should go away as it is linked to the rendering pipeline not knowing " where to go". ( this is true if you are using the universal rendering pipeline) Hope this works
I guess this was fixed but why is version 4.5.0 a manual download? If you download the “latest” version of XR Management you still get 4.4.1 and the only way to know there’s a newer, not broken one is to hit up the version history: Changelog | XR Plugin Management | 4.5.0