From ae26d64f6b53f0a8a57dd60e686686074cbb8281 Mon Sep 17 00:00:00 2001 From: Marc Langlois-Thibeault Date: Thu, 9 Dec 2021 11:57:47 -0500 Subject: [PATCH] Fix a crash for project using SensorSDK on a standalone build. The crash was due to code stripped when shouldn't be. --- .../Unity.RenderPipelines.HighDefinition.Editor.asmdef | 5 +++++ .../Unity.RenderPipelines.HighDefinition.Runtime.asmdef | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/com.unity.render-pipelines.high-definition/Editor/Unity.RenderPipelines.HighDefinition.Editor.asmdef b/com.unity.render-pipelines.high-definition/Editor/Unity.RenderPipelines.HighDefinition.Editor.asmdef index d8fdb3a0ef0..e7c4338ff9c 100644 --- a/com.unity.render-pipelines.high-definition/Editor/Unity.RenderPipelines.HighDefinition.Editor.asmdef +++ b/com.unity.render-pipelines.high-definition/Editor/Unity.RenderPipelines.HighDefinition.Editor.asmdef @@ -35,6 +35,11 @@ "name": "com.unity.modules.nvidia", "expression": "1.0.0", "define": "ENABLE_NVIDIA_MODULE" + }, + { + "name": "com.unity.sensorsdk", + "expression": "2.0.0", + "define": "ENABLE_SENSOR_SDK" } ] } diff --git a/com.unity.render-pipelines.high-definition/Runtime/Unity.RenderPipelines.HighDefinition.Runtime.asmdef b/com.unity.render-pipelines.high-definition/Runtime/Unity.RenderPipelines.HighDefinition.Runtime.asmdef index 1a646a4edf3..31b0dc68de4 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Unity.RenderPipelines.HighDefinition.Runtime.asmdef +++ b/com.unity.render-pipelines.high-definition/Runtime/Unity.RenderPipelines.HighDefinition.Runtime.asmdef @@ -53,7 +53,7 @@ }, { "name": "com.unity.sensorsdk", - "expression": "1.0.0", + "expression": "2.0.0", "define": "ENABLE_SENSOR_SDK" } ],