From 407855b8f8672c05e5fa33e889b5dae875da3cc1 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Thu, 4 Jan 2024 10:06:55 -0800 Subject: [PATCH] Revert https://github.com/godotengine/godot/pull/86682 for the Android platform as it breaks dynamic library loading --- platform/android/os_android.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index 35d42221529..0d82bec75db 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -170,8 +170,6 @@ Error OS_Android::open_dynamic_library(const String p_path, void *&p_library_han so_file_exists = false; } - ERR_FAIL_COND_V(!FileAccess::exists(path), ERR_FILE_NOT_FOUND); - p_library_handle = dlopen(path.utf8().get_data(), RTLD_NOW); if (!p_library_handle && so_file_exists) { // The library may be on the sdcard and thus inaccessible. Try to copy it to the internal