|
I'm trying to use protobuf-net but am getting the following error when I try to import it in a Boo script:
I have the assembly in the Plugins folder, and Unity doesn't complain if I use it from a C# script. Is there something special I need to do?
(comments are locked)
|
|
A plain .Net/mono dll is not a plugin. Plugins (from Unity's view) are only native code dlls. Just place your dll somewhere else in your assets. I don't use Boo because i don't know python ;) As far as i know Unity still use .Net 2.0 (you can see the option in your Player-settings where you can choose .Net 2.0 or .Net 2.0 Subset). That could be the problem. For which platform do you build? web, standalone or iPhone...
May 22 '11 at 03:54 AM
Bunny83
(comments are locked)
|

I'm not yet sure why this is, but using the .NET 2.0 version of the assembly appears to make it compatible with Boo.