Can a Raspberry Pi 2 with Windows 10 IoT Core run a game made in Unity?

Today, something somewhat weird occured to me. If you build a game in Unity engine, you can easily publish it for Windows Phone, even in old and very low-end devices like the Lumia 520. This phone has a Qualcomm Snapdragon S4 MSM8227 with ISA ARMv7 supported. The Raspberry Pi 2 Model B device also has an ARM v7 processor and can be loaded with Windows 10, that support the Universal Windows Plarform, which Unity supports. You can imagine the question, can a game built with Unity be published into a Raspberry Pi 2?

I’ll jump straight to the answer: Yes but don’t do it! Games built in Unity can and will run on a Raspberry Pi 2 loaded with Windows 10 IoT Core even though the performance is mediocre, at best. So, if you’re like me and want to try this (why? because you can!), follow the below steps

Get a Raspberry Pi 2 Model B, easy and inexpensive

Get started with Windows IoT, setup your PC for Raspberry development

Set up the Raspberry by downloading and installing Windows 10 IoT Core on it

– Download Unity (version tested is 5.3.2, but other versions should work)

– Find or develop a Unity game, you can find some in my blog

– Publish it for Universal Windows Platform

– Open the published game in Visual Studio

Deploy the UWP game in the Raspberry

– (optional but recommended) Connect a monitor via HDMI and a mouse to the Raspberry to see the game running

If you’re wondering, the games I tested to jump into the mediocre performance conclusion were two pretty simple 2D games I’ve built; the match-3 game and the puzzle one. Frame rate was 2-3 frames per second, making the performance totally unacceptable. I’m not aware of any optimizations that one could do in order to make them run faster, unless, of course, one could fiddle with the engine’s source code. Well, either that or Unity (or another engine) releases a version with Raspberry-friendly compatible output. Till then, I’ll be more than happy to enjoy Snake and Tetris-like games on my Raspberry!

5 thoughts on “Can a Raspberry Pi 2 with Windows 10 IoT Core run a game made in Unity?

  1. OK i tried, no luck, still <5fps for both XAML and D3D build options.
    So i guess nobody at Unity still tried to optimize it for RaspBerry, which is a shame because that GPU can deliver some juice if properly configured…

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s