Comments (9)
Official Windows ARM support is tracked by godotengine/godot-proposals#2408. Go add a thumbs up 👍 if you are interested.
from godot.
I've now tried setting the environment variables, but it did not fix the issue. Is there a way to provide official arm builds for windows?
from godot.
Would also love to see official builds for Windows ARM64.
I think this is going to be more common with the Snapdragon X starting to show up in devices.
from godot.
I have the strong suspicion that this is caused because Godot is trying to load the wrong architecture type of the dll(s)
I think so too. Do you have other .NET SDKs installed for other architectures? Can you share the output of the dotnet --info
command? It should show more information about your setup, like other SDK installations, information about the .NET runtime being used, and other environment information that could be useful to diagnose what's happening.
Also, make sure the Godot installation matches the architecture of the .NET SDK. It doesn't look like we distribute Windows builds of Godot for the ARM architecture, so I assume this is a custom build.
from godot.
This happens on non ARM architectures too. For instance, when you have both an x86 and an x64 .NET installation (IIRC VS does that by default), and your PATH is set to prioritize the wrong one. I've been meaning to see if we could do something about it for some time now, but never got to tackle it yet.
from godot.
I accidentally clicked the button sorry
@raulsntos the info command gives this output:
PS C:\Users\fabian> dotnet --info
.NET SDK:
Version: 8.0.204
Commit: c338c7548c
Workload version: 8.0.200-manifests.7d36c14f
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-arm64
Base Path: C:\Program Files\dotnet\sdk\8.0.204\
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.4
Architecture: arm64
Commit: 2d7eea2529
.NET SDKs installed:
6.0.421 [C:\Program Files\dotnet\sdk]
7.0.118 [C:\Program Files\dotnet\sdk]
7.0.408 [C:\Program Files\dotnet\sdk]
8.0.104 [C:\Program Files\dotnet\sdk]
8.0.202 [C:\Program Files\dotnet\sdk]
8.0.204 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.28 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.28 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.28 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.29 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x64 [C:\Program Files\dotnet\x64]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation]
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
PS C:\Users\fabian>
And the arm version of Windows can run most x64 Programs (even games) just fine, and also the Godot editor x64 build works without problems on this device. The building is the only thing not working.
from godot.
Ah, so you are using the x64 editor build. I think that may be the problem, the architecture of the Godot editor needs to match the architecture of the .NET SDK that you installed (which seems to be arm64).
Since you also seem to have the x64 .NET SDK, you can try prioritizing that one in your PATH
environment variable (like @paulloz suggested) and setting the DOTNET_ROOT
environment variable to that path (C:\Program Files\dotnet\x64
) and see if that works.
Just to be clear, I think the problem is mixing programs of different architectures together. Using all x64 or all arm64 programs should probably work but they all have to match.
from godot.
+1: would love to see ARM64 support since Microsoft is investing heavily into the ARM64 architecture.
from godot.
waiting for official Windows on Arm builds
from godot.
Related Issues (20)
- Crash when debugging with neovim from a use-after-free with List HOT 7
- The latest version(Godot_v4.3-stable_win64) causes the Windows IME to crash frequently HOT 2
- Double dot (`..`) operator causes misleading error in GDScript
- Run problem in 4.3 HOT 2
- InputEventMouseMotion is overwritten with another InputEventMouseMotion HOT 2
- Godot regisers incorrect TAB inputs on wayland HOT 2
- Left click not working correctly after scroll and click outside PopupMenu HOT 2
- `z_index` bug in nodes2D HOT 3
- [linux] use_llvm cross compile failure HOT 3
- [gcc] cross compiliation failure HOT 2
- Scene Thumbnails not correct after saving, problem for devs with trouble reading; accessability bug. HOT 1
- default XR action map broken in webXR on Quest 3
- Can't build android templates (open_xr error) HOT 1
- Input.joy_connection_changed not emitted with DS5/PS5 controller
- 2D Particles jitter when physics interpolation is enabled. HOT 3
- Project manager not applying custom theme correctly HOT 1
- `RayCast3D` cannot detect collision with CSGs in `_ready()` even with `force_raycast_update()` HOT 2
- RayCast3D debug visuals jitter and lag behind since 4.3 HOT 4
- GDscript Hot Reloading does not work for Built-in Scripts HOT 2
- Editor window error spam: "scene/3d/camera.cpp:487 - Condition "p.d == 0" is true. Returned: Point2()" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.