Bugfix steps for post-processing Source_Shaders throws an error un Unity (Mac)
johnpmayer opened this issue · 2 comments
johnpmayer commented
Description
Workaround specified in the getting started guide throws an error.
Expected behaviour
The workaround would be correct.
Current behaviour
When clicking Reimport in the context menu of Assets/Fps/Art/Materials/Source_Shaders:
Shader error in 'FPS/LowHealthVignette': failed to open source file: 'PostProcessing/Shaders/StdLib.hlsl' at line 8 (on metal)
Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Environment
JohnMayer:gdk-for-unity-fps-starter-project johnmayer$ spatial diagnose
Visiting url: https://auth.improbable.io/auth/v1/authorize?client_id=improbable_cli_client_go&redirect_uri=http%3A%2F%2Flocalhost%3A12000%2Fauthcode&response_type=code&scope=%5B%2A%5D%3A%2A
Retrieved information for package type 'sdk-toolbelt' with name 'mac' and version '14.0-b6143-48ac8-WORKER-SNAPSHOT'
Transferred 17.7MiB/ 17.7MiB [====================] 100% [2.9MiB/s]
Successfully downloaded package type 'sdk-toolbelt' with name 'mac' and version '14.0-b6143-48ac8-WORKER-SNAPSHOT' to '/Users/johnmayer/.improbable/bin/plugins/sdk/14.0-b6143-48ac8-WORKER-SNAPSHOT/sdk'
Mono
[SUCCESS + WARNING]
- Installed at '/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono'.
- Warning: Your installed Mono version (5.10.1) is more recent than the latest version SpatialOS is tested against (4.4.2). It should work fine, but you may find issues.
[WARNING]
Your installed Mono version (5.10.1) is more recent than the latest version SpatialOS is tested against (4.4.2). It should work fine, but you may find issues.
Network access
[SUCCESS]
- All checks passed
- Installed at '/usr/local/bin/spatial'.
Project's SpatialOS SDK
[SUCCESS]
- Found version 14.0-b6143-48ac8-WORKER-SNAPSHOT.
Spatial CLI SDK plugin
[SUCCESS]
- Installed at '/Users/johnmayer/.improbable/bin/plugins/sdk/14.0-b6143-48ac8-WORKER-SNAPSHOT/sdk'.
- Found version 14.0.
Spatial CLI tool
[SUCCESS]
- Installed at '/usr/local/bin/spatial'.
- Found version 20181011.94442.
Results
Found 1 warning(s) while running diagnostics.
'spatial diagnose' succeeded (11.2s)
OS - Mac 10.13.6
Unity - 2018.2.8f1
johnpmayer commented
As a first step, I'm going to forcibly install Mono 4.4.2 from https://download.mono-project.com/archive/4.4.2/macos-10-universal/ to see if that can resolve the issue. There are other issues in my install, namely that it doesn't appear that the SpatialOS menu appears in Unity. I don't know which component installed mono (possibly prior to running the steps from the getting started guide),
johnpmayer commented
Ensuring that the mono matched exactly the version from spatial diagnose
resolved all issues.