How to execute a Unity build on Raspberry Pi 2 w/ Windows 10 IoT?

Today I succeeded at installing Windows 10 IoT on my Raspberry Pi 2. But when it starts up, I don’t have any options besides changing language. So my question is, how do a execute a Unity build for Windows 10 universal? And/or is there other ways to get Unity to run on my Raspberry Pi 2 ?

Rasmus

I found out my self, and it wasn’t easy!
You need:
Windows 10 on your machine!
The new and free Visual Studio 2015 Community (Only this exact version will work!!!)
You need SDK for Windows 8.1 and 10 Universal App. Sometimes, it says it’s not installed even it is, i found my solution for this here: Windows Universal App Platform (UAP) SDK is missing in Visual Studio 2015 - Stack Overflow
Then you need to build you Unity project for Windows Universal App 10, with “C# Project” checked!
Now you need to connect to your RP2 with PowerShell ISE (Run as ADMIN!!!), follow this: https://ms-iot.github.io/content/en-US/win10/samples/PowerShell.htm
Open your Unity build WITH Visual Studio and deploy it to the RP2. (CPU = ARM, Machine = Remote Machine). Follow this: http://ms-iot.github.io/content/en-US/win10/samples/HelloWorld.htm

Now, the app will ONLY PLAY when you deploy it from Visual Studio. To make it the DEFAULT APP, follow instructions in bottom of this: http://ms-iot.github.io/content/en-US/win10/samples/HelloWorld.htm

1 Like

Let me add some steps to achieve the deploying:

  • You must create from Unity 5.2 a Windows 10 Universal App from File > Build Setttings…
  • On Platform choose Windows Store > SDK > Universal 10 and press “Build” button
  • From the generated build files you must open the *.sln (visual studio solution) on Visual Studio
  • There you will be able to deploy the App directly to the Raspberry Pi 2 (Windows IOT installed) using the previously explained steps written by RalliantoDeLaVega.

Hope it helps

1 Like

Did a DirectX driver get released for Windows 10 on the Pi2 yet?