0

I am trying to implement an application where a Unity scene will be hosted in a UWP XAML project (In a SwapchainPanel) and there should be communication between UWP and Unity. Basically using a XAML control (e.g Button) I need to control the object in Unity and also Unity should be able to send message to UWP also. So the communication should be bi-directional. Unfortunately, I could not find anyway to get this working.

I have tried to follow this sample, https://github.com/Unity-Technologies/DesktopSamples/tree/master/UniversalWindowsPlatformSamples/XAMLUnityConnection

But unfortunately, the sample is not working. I could not get it to work. Any help will be appreciated.

My Unity Version is 2021.3.15f1 Visual Studio Version is 2022

1
  • Did you see this? discussions.unity.com/t/… .. otherwise you can probably always open a local TCP connection between them? Commented Mar 16 at 21:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.