Search Issue Tracker
Duplicate
Votes
3
Found in [Package]
7.1.1
Issue ID
1215671
Regression
Yes
Switching an SRP project to Xbox One platform and back to Standalone provokes compilation error with XRSettings
How to reproduce:
1. Open attached project ("1215671-repro.zip")
2. Open Build Settings (File->Build Settings)
3. Switch to Xbox One platform
4. Switch to Standalone
Expected result: Errors are not thrown
Actual result: Error CS0103: The name 'XRSettings' does not exist in the current context is thrown
Reproducible with: 2019.3.0b4 (7.1.1), 2019.3.3f1 (7.1.8), 2020.1.0a25 (7.2.0), 2020.1.0a1 (7.2.1)
Not reproducible with: 2018.4.18f1 (4.0.0), 2019.2.20f1 (6.9.2-preview), 2019.3.0a12 (7.0.1)
Could not test with: 2017.4.37f1 (No packages)
Notes:
- Tested with HDRP, URP, SRP Core
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
- [Android Module] Unity double writes files in the "StreamingAssets" folder when they are deleted using "IPostGenerateGradleAndroidProject" after the Grandle project is generated
- IndexOutOfRangeException and InvalidOperationException when clicking on the HTML log in the Console
- Warnings "Attempting to draw with missing bindings" are logged when opening the HDRP VFX Template Sample Scene
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
This is a duplicate of issue #1196164