Unity 3D / RabbitMQ Library

922 views
Skip to first unread message

Cymatic Labs

unread,
Mar 21, 2017, 11:04:37 AM3/21/17
to rabbitmq-users
Hi everyone,

I'm guessing by now a lot of you are aware of Unity 3D. It's an extremely popular and ever growing game engine (used for more than just games as well). Under-the-hood it's a mixture of C++ and Mono.

I've created a library that wraps the official .NET RabbitMQ client for use with Unity and wanted to share for visibility. I recently started a project in Unity that required AMQP connectivity. In searching for possible integrations I didn't find much; just hints that others had gotten it to work, and often with many issues, as well as a good number of people searching for it. The library I created drastically reduces the know-how and technical difficulties in getting RabbitMQ to work with Unity (there we many). Since I've used both Unity and RabbitMQ pretty extensively I was able to implement a solution that caters to the issues and concepts of each technology, achieving a good balance. This includes some drag-n-drop visual components for using in the game engine's editor. I've tested it across Windows, macOS, iOS, and Android (Linux should work too, just not tested). It's about 7 days of solid work so far, and I plan on maintaining it and using it on more projects (it's released as MIT). 

So for anyone that's interested you can find it here: https://github.com/CymaticLabs/Unity3D.Amqp

I'm wondering what others think about possibly including a link to it on the clients and developer tools page, perhaps under miscellaneous?

Cheers
 

Michael Klishin

unread,
Mar 21, 2017, 11:19:42 AM3/21/17
to rabbitm...@googlegroups.com
Hi,

We tend to add projects that have been around for a while and we are confident about
recommending. However, I see that you had to fight some Unity limitations and use
.NET client 3.4.x.

This is both admirable and scary. It definitely will save Unity users some head scratching but
I don't know how I feel about promoting .NET client 3.4.x while we already switched all docs to 4.x
and working on 5.0.

Let me discuss this with the team. By the way, any chance to see .NET 4.5.2+ support in Unity 3D
any time soon?


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Cymatic Labs

unread,
Mar 21, 2017, 11:44:52 AM3/21/17
to rabbitmq-users
I can totally understand wanting to watch the maturity of a project first before including/promoting it. Either way I just wanted to let others know it exists.

I agree having to use an outdated client library was far from ideal. Unity definitely has an upgrade to .NET 4.6 in the "research" phase on their product roadmap.
I think part of the problem is that they forked Mono long ago and keeping it up to date is not trivial at this point.
A lot of headaches should disappear once they are able to get everything moved to more contemporary versions.
I'm hoping it will happen by the end of this year, but who knows.

When using the UWP build target for Unity they are already using a subset of 4.5 since UWP has very specific requirements.
They also seem to be partnering more and more with Microsoft, so I'm hoping that relationship continues to bear fruit.

I would definitely have used the latest client library had it been possible. Nevertheless I think the demand for Unity + AMQP will only be in growing
as time goes on.

Thanks for checking out the project.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Michael Klishin

unread,
Mar 21, 2017, 2:02:51 PM3/21/17
to rabbitm...@googlegroups.com
OK, thank you for the explanation.

Your client is now listed on http://www.rabbitmq.com/devtools.html.

To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages