ConnectedToRelay is registered too late
Closed this issue · 1 comments
bboysil commented
Latest change breaks connecting to relay:
```
private void OnEnable()
{
clientToServerTransport.OnClientConnected = ConnectedToRelay;
...
If I have "Connect on Awake" checked then `ConnectToRelay()` is called before `OnEnable()` so `ConnectedToRelay()` is never called and LRMTransport doesn't know it was actually connected(_connectedToRelay remains false).
Derek-R-S commented
Been fixed, just forgot to close issue.