UWP created with Unity not sending Azure SignalR message to clients in Hololens2

JoeS-3935 21 Reputation points
2023-02-23T23:25:44.7333333+00:00

I created a Universal windows project with Unity that is deployed on a Hololens2. The Unity app is suppose to send and receive messages using Azure SignalR. When testing out the app in the Unity tool platform the project is able to send and receive messages, however when deployed to the hololens2 the app is only able to receive the Azure SignalR messages but not send them. Has anyone had an issue like this before ??

Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
380 questions
{count} votes

Accepted answer
  1. Zuocheng Wang - MSFT 3,081 Reputation points Microsoft Vendor
    2023-03-10T08:48:40.84+00:00

    Hello, Welcome to Microsoft Q&A,

    Please note that a HoloLens app built by Unity is also a UWP app. And since the straight UWP app deployed on HoloLens 2 can work, the problem seems more likely to be on Unity side. If you want to get support from Unity, you can access Unity Forum.

    If you want to review further on HoloLens side, you can open a ticket via aka.ms/HLSupport.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. ajkuma 22,401 Reputation points Microsoft Employee
    2023-03-13T18:50:32.7366667+00:00

    I understand you have already checked Unity logs, from Azure SignalR service standpoint, to isolate the issue further:

    Azure SignalR service provides live trace tool to expose service traces on connectivity and messaging categories. The traces include but aren't limited to connection connected/disconnected events and message received/left events. With live trace tool, you can capture, view, sort, filter and export live traces.

    How to troubleshoot connectivity and message delivery issues

    The resource logs provide detailed information for every connection. For example, basic information (user ID, connection ID, and transport type, and so on) and event information (connect, disconnect and abort event, and so on) of the connection. resource logs can be used for issue identification, connection tracking and analysis.

    Setup and review resource logs: Set up resource logs for an Azure SignalR Service

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more