Importing Azure.Communication.Calling in Unity

Lam Nguyen 11 Reputation points


I am currently trying to integrate Azure Communication Services into a Unity project. Ideally, it should also be able to interface with Microsoft Teams so using the Azure services is necessary.

At the moment, I am stuck on trying to import the SDK into the Unity project.

Here's what I have tried so far:

  • importing the SDK package from the Nuget package manager in Unity. the Nuget package manager from Unity does not find the SDK
  • importing the SDK package from the Nuget package manager in Visual Studio. in this context the Nuget package manager does find the SDK package but Unity fails to reference it
  • building a dummy Visual Studio project that uses the SDK, and copying over the .dll files into the Unity Project. the problem is that using the SDK in this way seems quite cumbersome and counterintuitive, so I want to make sure that this is the only way before proceeding
  • creating a class library in Visual Studio interfacing with the Azure Communication Service SDK. Visual Studio launched from Unity does recognize the SDK but when I try to run the game in Game Mode, I am greeted get this error Could not load image H:\Coding\framework-sbs\Assets\Plugins\AzureCommunicationServicesWrapper\Azure.Communication.Calling.dll due to Invalid Section Aligmnent 1000. It happens whenever any piece of code referencing the Calling SDK is executed.
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
626 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 13,951 Reputation points

    Hi @Lam Nguyen ,

    Thanks for the question. I confirmed with ACS engineering team that Azure Communication Services does not currently support Unity. Can you please send us email at so we can learn more about your requirements, use case, and what your estimated usage may look like.