Which useful .NET libraries do you use?

Just curious: What other .NET libraries programmers have pulled in to Unity to make their work easier or become more productive?

To start off the list, here’s mine, maybe it will give you some food for thought.

AForge (image recognition, neural nets, fuzzy logic, genetic algorithms)
BitStream (for packing bits as densely as you can)
C5 Generic Collections (useful for trees, circular buffers, etc)
Clipper (good for handling 2D and 3D polygon tests)
DotNetZip (for compressing and decompressing assets)
IniFileParser (for reading and and writing simple .ini files)
TheObjectGuy’s LoggingFramework
ManagedAPI (for communicating with Windows OS directly)
NGenerics (useful generics collection)
Stateless (simple state machines made incredibly easy)
YAXLib (for reading and writing XML)

What are you guys (and girls) using?

Mono.Data.SQLite
SharpZipLib (I could modify it and it worked better on iOS than DotNetZip)
Not a .dll but I also use the SmallXMLParser suggested by Unity.

Those, plus a number of C++ libraries.

1 Like

Nice. I wanted to use SharpZipLib but I wanted to be able to use compression in web player as well.

Any particular C++ libraries? I use OpenCV for the most part but have migrated a lot of my code to AForge (not as mature, but pure .NET so easier to port for a lot of things.)

Curious about what purpose you are using SQLite for.

Also, forgot to mention, CommonLibrary.NET and Plossum Command Line (prefer the attribute decorators for doing command line stuff).

Have tested and rejected PowerThreading and PowerCollections and NGenerics (only use the Singleton class from NGenerics these days) due to other libraries supplanting these collections or .NET maturing that they no longer fill a strong role in development.

Any others? Always a useful resource to see what your peers are integrating in to their projects.

The C++ ones are all in house, and I can’t list them.

SQLite is primarily a GameObject Serializer/Browser that stores Prefab-like objects (we have a LOT), and can be updated without an App Store Update.

One of the primary issues that arose was mixing Mono.SQLite with Byte code stripping, as most SQLite solutions are unfriendly to both iOS ahead of time compilation and Byte Code Stripping(same with anything that uses System.Cryptography, hence why SharpZipLib’s customizability was a huge plus), but I finally got a Link.xml tag working with it.

Sorry to resurect this topic, but how do you use ngenerics with unity?

Hi! I am interested in NGenerics and how to use it! Is original thread starter here? :slight_smile: