diff --git a/unity/Assets/Scripts/CapturePass.cs b/unity/Assets/Scripts/CapturePass.cs index 931bcb2481..d2eeaf5090 100644 --- a/unity/Assets/Scripts/CapturePass.cs +++ b/unity/Assets/Scripts/CapturePass.cs @@ -618,7 +618,7 @@ public override void OnCameraChange(Camera mainCamera) { camera.clearFlags = CameraClearFlags.SolidColor; camera.targetTexture = this.GetRenderTexture(); // do not render at update - // this.camera.enabled = false; + this.camera.enabled = false; // this.camera.SetReplacementShader(this.shader, ""); } @@ -717,7 +717,7 @@ public Color32[] GetColors() { // encode texture into PNG/JPG Color32[] bytes; - bytes = tex.GetPixels32(); + bytes = tex.GetPixels32(); diff --git a/unity/ProjectSettings/ProjectSettings.asset b/unity/ProjectSettings/ProjectSettings.asset index 4a3bd05cef..6d5ac868e9 100644 --- a/unity/ProjectSettings/ProjectSettings.asset +++ b/unity/ProjectSettings/ProjectSettings.asset @@ -644,7 +644,7 @@ PlayerSettings: webGLThreadsSupport: 0 webGLDecompressionFallback: 0 scriptingDefineSymbols: - 1: UNITY_POST_PROCESSING_STACK_V2 + 1: 4: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2 7: CROSS_PLATFORM_INPUT;MOBILE_INPUT;UNITY_POST_PROCESSING_STACK_V2 13: UNITY_POST_PROCESSING_STACK_V2