integrating agora RTM SDK in unity

I’m trying to get the provided sample app from the agora’s site: https://docs.agora.io/en/Real-time-Messaging/run_rtm_unity?platform=Unity. And following their instruction gives me infintie import loop on macOS with unity version 2020.1.6f1 .

I basically want to build a chat section into my app, and the documentation to me seems a bit outdated, this is my project structure so far. Notice the RTM scripts is a bit misplaced with regards to the instruction on the documentation, that’s because the sample app seems to expect it in that place, and once I import the Plugins folder as mentioned in the instruction to integrate the SDK, I get an infinite import loop:


If anyone has used this please let me know how to integrate the chat(not the video) SDK in unity.

The cloning of the repository as instructed fails, but, the unitypackage seems to work even in 2020.3 in macOS, yet it gives some GUID conflict errors. Unity package found here: Releases · AgoraIO-Community/Agora-Unity-RTM-SDK · GitHub

Hello, it seems this is an old thread, and you’ve come to our Slack community to ask the question recently. Apologies to the confusing online instructions. We are updating it for better clarity. About the GUID conflict warning, you may just ignore them. The Unity Editor will generate new GUIDs.

1 Like

Thanks, the support is very friendly indeed. They even sent me a patch which solved the issue.

I’m also determined to integrate One-to-one messaging features into my project. Yes, their documentation seems messy to me. But after searching seamlessly, I’ve found that someone has done a great job by implementing a whole messaging app based on Agora RTM and RTC. It’s an In-app Communication Plugin for Unity 3D in Unity Asset Store. Messenger 23 Pro is based on Agora video SDK for Unity which supports.

  • Instant text message

  • Audio call

  • Video call

  • Screen share

The free version of this asset is available on GitHub. Find the free version here

https://github.com/Studio-23-xyz/Messenger-23

You can also buy the Pro version of messenger 23 from Unity Asset Store.

https://assetstore.unity.com/packages/templates/systems/messenger-23-pro-edition-210444

Hope it helps you!

2 Likes

Thanks for sharing the steps for integrating the agora RTM SDK in unity.