Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android dynamic library loading #86792

Merged

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Jan 4, 2024

Revert #86682 for the Android platform as it breaks dynamic library loading

@dsnopek
Copy link
Contributor

dsnopek commented Jan 4, 2024

@m4gr3d What about something like PR #86794 which still gives a different error code if the file can't be found? (I'm not 100% sure it's correct, because I haven't had a chance to test it.)

@m4gr3d
Copy link
Contributor Author

m4gr3d commented Jan 9, 2024

cc @dsnopek @akien-mga We should include this fix in the dev2 build (or revert the original PR) to avoid introducing a regression on Android for dev2.

Copy link
Contributor

@dsnopek dsnopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per our discussion on PR #86794, there may not be a way to reliably distinguish between "not found" and "cannot load". So, let's just go with reverting for now.

But it would definitely provide a better developer experience for GDExtension if we were able to come up with a way to distinguish between those, at least in the most common cases.

@akien-mga akien-mga merged commit 9b522ac into godotengine:master Jan 9, 2024
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the fix_android_dyn_library_logic_main branch January 9, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants