Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in 'Windows' started by RalliantoDeLaVega, Sep 12, 2015.

  1. RalliantoDeLaVega

    RalliantoDeLaVega

    Joined:
    Jan 30, 2014
    Posts:
    45
    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
     
  2. RalliantoDeLaVega

    RalliantoDeLaVega

    Joined:
    Jan 30, 2014
    Posts:
    45
    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: http://stackoverflow.com/questions/...form-uap-sdk-is-missing-in-visual-studio-2015
    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
     
    thelebaron likes this.
  3. jaguardigital

    jaguardigital

    Joined:
    Sep 29, 2015
    Posts:
    5
    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
     
    TheTrigger likes this.
  4. een54

    een54

    Joined:
    Dec 5, 2012
    Posts:
    2
    Did a DirectX driver get released for Windows 10 on the Pi2 yet?