From f373ae9aa499feccbdd0153b2616d1b0c0fb7595 Mon Sep 17 00:00:00 2001 From: robotchaoX <43107451+robotchaoX@users.noreply.github.com> Date: Tue, 20 Feb 2024 00:18:56 +0800 Subject: [PATCH] Fix debugutils load Shaders failed for Android (#1107) [Why] Sample debugutils's shaders path is incorrected in build.gradle for Android. Missing shaders will cause sample debugutils crash. [How] Correct sample debugutils's shaders path for Android. --- android/examples/debugutils/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/examples/debugutils/build.gradle b/android/examples/debugutils/build.gradle index 2117fbb0..b2a29b0a 100644 --- a/android/examples/debugutils/build.gradle +++ b/android/examples/debugutils/build.gradle @@ -49,8 +49,8 @@ task copyTask { } copy { - from rootProject.ext.shaderPath + 'glsl/debugUtils' - into 'assets/shaders/glsl/debugUtils' + from rootProject.ext.shaderPath + 'glsl/debugutils' + into 'assets/shaders/glsl/debugutils' include '*.*' }