stride3d / stride

Stride Game Engine (formerly Xenko)
https://stride3d.net
MIT License
6.36k stars 922 forks source link

Windows on Arm support #2018

Open archanox opened 8 months ago

archanox commented 8 months ago

Is your feature request related to a problem? Please describe. Currently using the Stride Editor on Windows on Arm is not possible without changes to the Stride Game Studio, VS Extension, etc

Describe the solution you'd like I'd like to make changes to allow the Stride Editor et al to have functional parity with "regular" Windows.

Describe alternatives you've considered I've considered firing up a x64 VM for just the editor, but this should not be required.

Additional context Currently the first roadblock encountered is this; image And yes, the SDK installed, albeit the Arm64 version.

PS C:\Users\pierce> dotnet --list-sdks
6.0.416 [C:\Program Files\dotnet\sdk]
7.0.402 [C:\Program Files\dotnet\sdk]
PS C:\Users\pierce>
Doprez commented 7 months ago

I delved a little bit into this with the changes to .NET 8 this is handled here.

At line 41 you can see it finds my .NET 8 SDK in the typical SDK folder. image

Unfortunately I cant see all the enumerated results seemingly due to a threading issue but this is likely where your issue lies. image

Kryptos-FR commented 7 months ago

The issue likely is because MSBuild wasn't supported on ARM until recently (.NET 6 was released in 2021). So if it can work, it would only be on Windows 11 devices with a recent version of MSBuild (through Visual Studio 2022 or later).

See: https://learn.microsoft.com/en-us/visualstudio/install/visual-studio-on-arm-devices

archanox commented 7 months ago

Thanks @Kryptos-FR, yeah I'm aware that it's relatively new. But I'm looking to add support for Stride on WoA.

I can put up a WIP PR, but I'm still having issues building Stride. More information can be found on discord in #contributors in the meantime.