Search Issue Tracker
Fixed in 2018.2.X
Votes
3
Found in
5.5.0f3
Issue ID
868942
Regression
Yes
"VR* does not exist in the current context" error when building for Linux
Steps to reproduce:
1. Open the attached project
2. Go to build settings
3. Make sure that:
3.1. Platform is PC, Mac & Linux standalone
3.2. Target platform is Linux
3.3. Architecture is x86_64
4. Build the project
Expected: the project is successfully built
Actual: "error CS0103: The name `VRSettings' does not exist in the current context" is shown
Reproduced on: 5.5.0p4
Not reproduced on: 5.6.0b3
Unable to repro: 5.4.4f1 (freezes on build)
OS: OSX 10.11.6
Note: you can also enter the play mode in the editor at first, but after the build attempt it asks you to correct all of the compile errors.
Note #2: issue occurrs with VRDevice and VRStats class too.
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
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
- Sprite Renderer image is changed when Mask Interaction is turned by C# script
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
BurningToad
Feb 09, 2017 17:20
I have run into this issue also, on Unity 5.5.1p3