Using .net dlls on the iPhone pro?

Hey - quick question that I couldnt see an answer for.

Can we use .net dlls in the pro version? I’ve tried in the standard version and they didnt load. So wondering if they work in pro. Either now or in version 1.1

Ick! Can we please get .net assemblies to work on iPhone standard as well? Don’t ruin my market here! :wink:

Exactly

Hard to make/sell middleware and/or use 3rd party stuff if they dont load :slight_smile:

Hi-

looks like the advanced version does .Net ddls.
Just tried it with a very simple dll and it builds and runs on the phone as expected.
AFAIK you cannot use anything that uses unmanaged code and are restricted to .NET 1.1.
I’ve attached a simple demo that runs on unity pro / iphone advanced.

-markus

100482–3883–$dlltesttar_184.gz (447 KB)

I was wondering if this would work. Someone mentioned on another thread their interest about using Behave on the iPhone, and since Unity compiles your code to ARM I was wondering what it does with DLLs.

So which versions of Unity + iPhone do DLLs work for? Only Pro/Advanced, or also for Indie/Basic or Pro/Basic?

Emil, do you know of anyone using Behave on the iPhone?

If behave is an .NET DLL then potentially with Advanced, this kind of stuff is not really documented / mentioned so far.

If it is C / C++ or anything else unmanaged, then with no unity at all until you can wire in that through Unity Advanced and working with the XCode project and bundle / a / framework files there directly

Ricardo:
Not that I know of, no. However I find it quite silly if the iPhone basic is limited to not using .net assemblies when the webplayer indie isn’t.

markus et al:

Thanks for the test project. Good news: I have successfully installed and tested it on unity indie/iphone basic.
OK I’m off to read all about Behave!
:smile:

Hey Alex,

Great to hear that. Have you run a Behave app on the iPhone yet? I’ll have a sample one up on our site by tomorrow, in case you haven’t implemented any behaviors yet.

Ricardo, I haven’t tried Behave. I decided not to pursue Behave in my current iphone project. I am having trouble wrapping my head around Behavior Trees and I manage without them now. My current project doesn’t really need agent based AI it’s just a dominoes game . I might revisit Behave for future ideas though! Thanks again to you and AngryAnt for the docs plugins though.