.NET Native?

Have you seen this?

Says it will make your C sharp Windows Store app start 60% faster and use less memory!

Has anyone tried this on a Metro app made in Unity with C sharp? Have you noticed any performance increase?

Any Unity updates regarding adoption of .Net Native?

.NET Native is used in Unity apps with Windows 10 SDK automatically if you build for Master config. It is a requirement to use it in order submit to Windows Store if you’re targeting Windows 10 SDK.

1 Like

To add, Microsoft handles this for you. When you build in Debug mode it still builds normally and you can debug and run faster. When you build in Release mode and/or deploy to the Windows Store, it will use .NET Native.

It’s a setting in project file. We don’t enable it in Unity release builds, only in Master (partly because .NET native takes a while to build).

1 Like

I tried this and hit lots of problems with missing installs, that I had to hunt down install then find I needed more installs. Then I get an error about icon size being wrong at that preventing the build?!

I think if you could run a dependency check on the tool chain used then Unity could really make this a lot easier, with auto-installs prior to build.

Should I send in a bug report on the icon error or is it already in?

We don’t have bug with icon error as far as I know, please submit a bug with small repro. Thank you

Actually we do, just a bit more generic: the are issues with manifest generation on Windows 10.