Hi,
I’m running into a NullReferenceException when creating a Unity Relay session.
Here is my code:
https://paste.ofcode.org/3aeiW4ik65hBQfhW4r9pCSC
And here is the full error log:
https://paste.ofcode.org/3aX7qeA7cZdCWJwkJinnkSE
The issue occurs in my CreateRelay method (RelayManager.cs:117). The process actually works partially: I do receive a join code in the console successfully. However, immediately after that, a NullReferenceException is thrown.
I’m trying to understand what is becoming null after the join code is generated, since the Relay request itself seems to succeed.
Any help identifying what is causing the exception after GetJoinCodeAsync() completes would be appreciated.
Thanks!