-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
4.2-dev4 C# export to Android generates the APK fine, but fails finding .NET assemblies for arm64 at runtime #81852
Comments
I assume you're actually testing 4.2 dev 4? 4.1 doesn't support Android for C# exports. |
Sorry, it's actually 4.2 dev 4 |
Your MRP doesn't contain a C# project. |
So it might be the old issue where exporting a non-C# project with a .NET enabled build still tries to initialize .NET but doesn't copy the libraries? |
The same thing here, i cant build the project: C:\Users\AORUS\Documents\MyRPGGodot\MyRPG-Godot.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-bionic-arm64 with version (= 6.0.18) And i cant install the nuget either cause it's not compatible with the project. |
Justing to give more information: Error:
I can't build any architectures of android apk |
I slightly remember something like that but I can't find the issue now, I don't remember if it was resolved. It shouldn't copy any .NET libraries if there is no C# project, but then the exported project shouldn't attempt to load them, otherwise you can't export GDScript-only projects from the .NET version (this will become more important with Editor unification, maybe #74089 already solves this). @arnilsenarthur You have to target .NET 7.0. Change |
I already did this and still not worked. |
Yep, i give up by now. I created a empty project in a non-mono godot version then it installed and worked with no problems. but even an empty mono android project does not work |
Same experience here with the unmodified XR Tools demo and 4.2dev4. Loads ok non-mono. As you suspected @raulsntos I had not added any C# code yet. |
Using android studio log i tried to understand what's wrong and seems something about vulkan, but i'm not sure. |
This is logcat output from android emulator running simple godot application exported by v4.2.dev6.mono.official.57a6813bb (filtered by
|
I'm seeing the same error in my project. I'm using the PlayFab C# SDK. It seems to happen on a call to that library. |
Godot version
4.2 dev 4
System information
mac 12.6.7
Issue description
Why is this? What can I do to fix it?
Steps to reproduce
.
Minimal reproduction project
godot.zip
The text was updated successfully, but these errors were encountered: