Is your feature request related to a problem? Please describe.
The current runtime build size is quite big and requires the .NET runtime. NativeAOT builds don't require the runtime and trim down the final binary size quite a lot.
Describe the solution you'd like
Add support for NativeAOT release builds, at least for built games. The editor requiring the .NET SDK is fine.
Additional context
I've tested building it with NativeAOT myself, as Silk.NET already supports it. While it works after registering the GLFW window and input platforms manually, the render pipeline can't initialize for some reason. Probably because something important related to it was trimmed out. Would be nice to get easy NativeAOT support out of the box.
Is your feature request related to a problem? Please describe.
The current runtime build size is quite big and requires the .NET runtime. NativeAOT builds don't require the runtime and trim down the final binary size quite a lot.
Describe the solution you'd like
Add support for NativeAOT release builds, at least for built games. The editor requiring the .NET SDK is fine.
Additional context
I've tested building it with NativeAOT myself, as Silk.NET already supports it. While it works after registering the GLFW window and input platforms manually, the render pipeline can't initialize for some reason. Probably because something important related to it was trimmed out. Would be nice to get easy NativeAOT support out of the box.