Unity and the Raspberry PI?

So I was wondering about if Unity works with the Raspberry PI… though the Chrome Native client, I think this could work, on the Pi. We have Chromium and I think it supports NaCL from what is stated in that. So I see no reason why it won’t work… but I don’t want to go on thinking it will work without some proof and I don’t have a PI to test it on.

Maybe someone has a Raspberry to test it on?

Also this is an interestoid something called MonoGame runs on the PI and from what I see it is a Mono implementation of XNA, so I don’t see why Unity wouldn’t work on it(with a real export)

Oh and I guess it would work with Android but…

I too would like to see Linux-ARM support for Unity3d. Not all devices with ARM CPUs are iPhones and Androids, and Linux-ARM is just as viable as Linux x86 and x64 as a desktop platform.

1 Like

I think the amount of RAM available in such a device would be more of a hinderence than Unity support, but don’t get me wrong. Also, Unity supports Linux now.

Linux, yes. Linux ARM, not really.

The latest Raspberry PIs support 512MB, while the older ones support 256MB – about the same as many generic Android tablets and phones.

Unity 4.0 only supports Linux with Intel CPUs.

I would imagine compiling Unity for Raspberry Pi being relatively straightforward - using their Linux code-base, then targeting the ARMv6 architecture, then replacing the OpenGL rendering with the Android NDK OpenGL ES rendering.

Ah, I was not aware the pi was ARM. Thank you for clearing that up.

I wish they would support Linux arm as it would open unity to a whole world of embedded goodness.

4 Likes

I thought you couldn’t put applications made in Unity on embedded systems. I haven’t been following the EULA thread recently, though, so if the embedded systems problem was cleared up, disregard this post.

It is only if its on more then 50 products:

Ah, okay.

Pi support would be really cool. However, from using my pi and the specs it has, it can feel underpowered at times(specially web browsing). There are some other more powerful mini computers out there that are android based (e.g. the Rikomagic MK802 II). I haven’t played around with those but the specs look decent. Perhaps a dedicated 'Unity console" could be a future dream?

You can run android on raspberry.

But i’m not sure if unity’s ARMV7 support will work with raspberry PI’s ARMV11

It might, as raspberry pi’s processor architecture is ARMv6. The “ARM11” refers to the processor family. I have an sd card with droid compiled, and may try this out this week,as I have been wondering the same thing. I’ll post back my results.

That should be perfectly fine, then. I’ve done a lot in under 80MB of RAM with Unity (not counted the VRAM usage carefully, though). Both regular and headless Linux ARM versions would be an excellent addition, and seeing as they already have Android support there should be less porting involved on the ARM code portion.

Thanks for correcting me.

But hasn’t unity allready removed the support for ARMV6 from the android publishing options?

Also i’ve been considering, Would it be possible to read input from the pi’s GPIO pins? This would allow people to make custom controllers etc.

NECRO BUMP ALERT:

Yea, J-F, they did. (Curse you UT! You think every device has ARMv7 do ya?! well YOU’RE WRONG!!!) Would be great if Raspberry Pi had unity3d support though…

Beig able to read from the pins is a novel idea. because, like you stated above, you could design a custom controller to use with the Pi. Would mean motion control like the Wii would be more widespread

I pretty thoroughly explored Unity on these small linux/android computers a while back in this thread:
http://forum.unity3d.com/threads/202096-Unity-on-a-beaglebone-black

What I found is that, no Unity does not work good on any of them. Not the pi, not the beagle bone black, not the udoo quad (which is the fastest of them all).

First there is the issue, already mentioned in this thread, that Unity supports linux x86 not linux arm. So you cannot run unity apps in linux on these devices.

The other issue is, the android ports for these devices just do not perform good at all. The pi android just had very very poor 3D performance. The black has bad 3D performance all around. And the udoo quad, which should have good performance, just didn’t. I suspect this is because the android drivers for the GPU on these devices is just not up to par. The drivers and 3D performance is extremely unoptimized. The udoo quad which is the fastest of them all had worse performance than even like an iPhone 3G.

However it was like 6 months ago I checked into all of this. The android ports may be better now. I don’t know though.

But I abandoned this hope entirely as I just presume there isn’t any real effort for someone knowledgable to write a performant android port for these devices, so it probably won’t happen. Although maybe I’m wrong, maybe if someone has the time, look into it again and see how unity apps run with the latest android ports?

One quick question :

What type of application are you envisioning with Pi and Unity?

If it’s about a custom controller you can easily control Unity based games on PC/Mac through Arduino.

You could, you wouldn’t want to make the controller in Unity though you’d want to make it without the overhead of a game engine. You can use Mono on the Pi, I didn’t realise how it worked but you legitimately just install mono on the pi and then run .net exe, crazy.

On a side note, this is super strange before I opened up the forums I was thinking about how its annoying that Unity doesn’t work with the Pi because I got this tiny little screen (from a printer) and am going to have a go at connecting it up to the Pi.

I agree that Unity should really assign a couple guys to show Raspberry Pi some love.

It’s another platform — one that has become extremely popular, and seems to be only growing. There are RaspPi clubs springing up in schools. The latest standard Pi operating system even ships with a free (!) copy of Mathematica and Wolfram Language. But most of those kids in the RaspPi want to make games — and what are they going to use? PyGame. :cry:

Unity’s missing an opportunity here to hook into a large and growing audience of budding programmers.

Has anybody filed a feature request yet? I’d spend some of my votes on it…

1 Like