From 3eb71d3d639561d0618ead4e0830ea2be681149d Mon Sep 17 00:00:00 2001 From: Aleksandr Kirillov Date: Fri, 22 May 2020 12:18:57 +0200 Subject: [PATCH 1/2] Enable caching preprocessor in HD template. --- .../Packages/com.unity.template.hd/CHANGELOG.md | 1 + .../Packages/com.unity.template.hd/package.json | 2 +- com.unity.template-hd/ProjectSettings/EditorSettings.asset | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/com.unity.template-hd/Packages/com.unity.template.hd/CHANGELOG.md b/com.unity.template-hd/Packages/com.unity.template.hd/CHANGELOG.md index a00c0901413..0900fe68b31 100644 --- a/com.unity.template-hd/Packages/com.unity.template.hd/CHANGELOG.md +++ b/com.unity.template-hd/Packages/com.unity.template.hd/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Changed - Updated version to HightDefinition RP version 10.0.0 +- Caching Shader Preprocessor is now enabled in Project Settings ## [7.1.7] - 2019-12-3 - Editor will force text serialization to occur on one line diff --git a/com.unity.template-hd/Packages/com.unity.template.hd/package.json b/com.unity.template-hd/Packages/com.unity.template.hd/package.json index 11e9009d165..cefba141d1c 100644 --- a/com.unity.template-hd/Packages/com.unity.template.hd/package.json +++ b/com.unity.template-hd/Packages/com.unity.template.hd/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.template.hd", "displayName":"High Definition RP", - "version": "10.0.0", + "version": "10.1.0", "type": "template", "host": "hub", "unity": "2020.2", diff --git a/com.unity.template-hd/ProjectSettings/EditorSettings.asset b/com.unity.template-hd/ProjectSettings/EditorSettings.asset index 125f2ccef56..652e2f799ff 100644 --- a/com.unity.template-hd/ProjectSettings/EditorSettings.asset +++ b/com.unity.template-hd/ProjectSettings/EditorSettings.asset @@ -19,8 +19,9 @@ EditorSettings: m_ProjectGenerationRootNamespace: m_EnableTextureStreamingInEditMode: 1 m_EnableTextureStreamingInPlayMode: 1 + m_EnableRoslynAnalyzers: 0 m_AsyncShaderCompilation: 1 - m_CachingShaderPreprocessor: 0 + m_CachingShaderPreprocessor: 1 m_EnterPlayModeOptionsEnabled: 0 m_EnterPlayModeOptions: 3 m_UseLegacyProbeSampleCount: 0 From c4f5698c4960c04614e370f86d6be3478e5a8708 Mon Sep 17 00:00:00 2001 From: sebastienlagarde Date: Fri, 22 May 2020 16:40:07 +0200 Subject: [PATCH 2/2] Update package.json --- .../Packages/com.unity.template.hd/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.template-hd/Packages/com.unity.template.hd/package.json b/com.unity.template-hd/Packages/com.unity.template.hd/package.json index cefba141d1c..11e9009d165 100644 --- a/com.unity.template-hd/Packages/com.unity.template.hd/package.json +++ b/com.unity.template-hd/Packages/com.unity.template.hd/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.template.hd", "displayName":"High Definition RP", - "version": "10.1.0", + "version": "10.0.0", "type": "template", "host": "hub", "unity": "2020.2",