Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity3d, Currently selected scripting backend (.NET) is not installed

I have a regular Unity3d project where I created a simple First-Person moving "Game". I recently discovered how to use unity and put an app on to a Xbox One developer console using Universal Windows Platform. However, when I go to build my game as a windows store app, it says

"Currently selected scripting backend (.NET) is not installed." Does anyone know how to fix this and/or download the Unity .NET scripting backend?

Thanks in advance!

like image 800
LordColus Avatar asked Mar 11 '17 00:03

LordColus


People also ask

What is scripting backend in Unity?

Scripting backend is a framework that powers scripting in Unity. As of today, Unity supports three different scripting backends depending on target platform: Mono, .NET and IL2CPP. More info. See in Glossary. Universal Windows Platform.

How do I enable IL2CPP?

Select the platform you are building for, then click Player Settings… to open the PlayerSettings window in the Inspector. In the PlayerSettings window for your target platform, scroll down to the Configuration section. For Scripting Backend, select IL2CPP.

What is IL2CPP Unity?

The IL2CPP scripting backend converts IL code from scripts and assemblies in a Unity project to C++ code which is then compiled using platform native compilers. For the most part, the scripting backend should not matter. However, IL2CPP does provide a few useful options which can be controlled.


2 Answers

I hit the same problem and this is actually an optional component from the Unity installer. So run the installer assistant again and make sure .Net Scripting Backend is ticked.

enter image description here

like image 157
Felipe Avatar answered Sep 20 '22 01:09

Felipe


You need to install .NET 4.5, judging from the doc. Win10 SDK is also required. You can install it via the Visual Studio Installer of VS2017.

The .NET Scripting Backend is using Microsofts .NET to power scripting. Unlike other Unity platforms, Windows Store is not using .NET 3.5 Class Libraries profile, but rather a subset of .NET 4.5.

Also check if you have installed the Xbox One module is loaded: at Menu/BuildSettings, select Platform/Xbox One.

Tips and Tricks for Building for UWP and deploying to Xbox One

like image 43
zwcloud Avatar answered Sep 17 '22 01:09

zwcloud