Unity-Technologies/HDRPRayTracingScenes

Errors opening project

jelmer3000 opened this issue · 1 comments

I get 40 errors when opening the project in 2020.2.
The following 4 different types.
When you open an example project you would think it would just work? What is going on here?

Deterministic compilation failed. You can disable Deterministic builds in Player Settings
Library\PackageCache\com.unity.multiplayer-hlapi@1.0.4\Editor\Tools\Weaver\AssemblyInfo.cs(22,28): error CS8357: The specified version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation

Library\PackageCache\com.unity.render-pipelines.high-definition@10.0.0-preview.27\Runtime\Lighting\LightLoop\LightLoop.cs(215,33): error CS0117: 'ShaderConfig' does not contain a definition for 'k_XRMaxViewsForCBuffer'

Library\PackageCache\com.unity.render-pipelines.high-definition@10.0.0-preview.27\Runtime\Lighting\VolumetricLighting\VolumetricLighting.cs(46,33): error CS0117: 'ShaderConfig' does not contain a definition for 'k_XRMaxViewsForCBuffer'

Library\PackageCache\com.unity.render-pipelines.high-definition@10.0.0-preview.27\Runtime\Lighting\ProbeVolume\ProbeVolumeLighting.cs(175,64): error CS0246: The type or namespace name 'ProbeVolumesEncodingModes' could not be found (are you missing a using directive or an assembly reference?)

Go into the Package Manager and update the HDRP Config to the same version as your HDRP package. You may have to restart the editor and reimport all assets afterward, but it'll work.