-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Add C# support for Android in Godot 4.x #68153
Comments
C# support for Android, iOS and Web is not planned for 4.0, it will be worked later on for 4.x releases (as soon as possible, but for 4.0 we focus on the desktop platform and the overall feature set and UX). We should add info about it in the export presets like I did for the lack of UWP support in 3.x in #64778. |
What are the blockers for net6 on Android? I would be interested in trying |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Please don't comment if you don't have meaningful information to add. We know that C# support for Android is missing, we don't need reminders. If you want to show your support of the issue, add a 👍 reaction to the first post. |
Hi. Regarding this: is there an estimate of when will Godot 4.x support C# for Android and iOS? Even a rough estimate would be appreciated. Are we talking about ~2 months? ~6 months? ~1 year? Thanks! |
I wouldn't expect any less than 6 months to a year. |
@behroozbc Adding C# support in Android is a VERY complex task - not a first issue definitely. Look for things tagged good first issue |
Just a heads up, the Godot site is currently wrong until this issue is resolved. It shows you can use C# for your Godot games. While you can, this lacks an important asterix advising of this problem, and should possibly be updated until this issue is resolved. The square below it advertises cross-platform ability, which is not possible when using C# in 4.0. The website should probably be updated. |
This is being addressed by godotengine/godot-website#671. |
There has been quite a lot of changes to make bionic support on dotnet functional in the last couple months, and as of the current dailies, the linux bionic target is supported on dotnet and would be publicly available in the next preview release, which could be this week. Has there been any attempt at building godot using the native aot bionic target? |
If I understand correctly, this issue has become a catch-all for C# mobile export support in Godot 4. Now that preliminary support for exporting to Android was merged in #73257, are there dedicated issues for tracking C# iOS and web export support for Godot? I looked around, but I could not find specific issues for the other platforms. |
For 4.0.* works. Download the templates for non-mono, go to the downloaded template folder and copy all the android files to the mono templates folder |
That's not going to work, unless you're not using any C# code, in which case there's no reason to use the Mono version. |
where can i download this template? |
People, I'm sorry. I was wrong, it won't work.
People, I'm sorry. I was wrong, it won't work. |
C# support for Android was implemented by #73257 and will be available in Godot 4.2, due for release in November 2023. You can already test it in the latest dev snapshots (the current one, and first one with the Android export template, is 4.2 dev 4). There might still be bugs with the implementation, so if you run into any issue when testing, please open a dedicated bug report, so we can make sure to iron out problems before the 4.2 release. No ETA yet for iOS and Web support, but this is a top priority, we're currently assessing what it will take to get those. |
@gtk2k |
Thanks |
Amazing stuff guys! Thanks!! |
Is there an open issue that we can follow just so we can get notified whenever these are available on Godot 4? I couldn't find any. If not, is it okay to open one just for tracking that? EDIT: Ah sorry, duplicate question 😆 just noticed #68153 (comment) |
iOS support was implemented already in #82729. |
Godot version
4.0.beta1
System information
Windows 11
Issue description
In Godot 4.0.beta1 mono version, I am unable to export projects to android due to a missing export template for android. On all download sources, it shows windows and linux templates, but no android templates.
When I compare this to the non-mono version, I see android templates.
I have looked at all iterations of godot 4.0 beta here and see later beta versions also don't have android templates for the mono build.
I searched for an issue tracking this, but I was only able to find a closed issue for when godot originally added C# support for android #20267.
Is C# support for android planned for godot 4.0? If so, is there a different issue I should reference for this issue?
Steps to reproduce
No export template found at the expected path:
Minimal reproduction project
Not including minimal reproduction project as this should be reproducible in an empty project. Let me know if you need one anyways.
The text was updated successfully, but these errors were encountered: