diff --git a/Packages/Sequence-Unity/Sequence/SequenceSDK/EmbeddedWallet/SequenceLogin.cs b/Packages/Sequence-Unity/Sequence/SequenceSDK/EmbeddedWallet/SequenceLogin.cs index 93342b5d..8e24023f 100644 --- a/Packages/Sequence-Unity/Sequence/SequenceSDK/EmbeddedWallet/SequenceLogin.cs +++ b/Packages/Sequence-Unity/Sequence/SequenceSDK/EmbeddedWallet/SequenceLogin.cs @@ -114,7 +114,10 @@ public void SetupAuthenticator(IValidator validator = null, IAuthenticator authe return; } ConfigJwt configJwt = SequenceConfig.GetConfigJwt(); - _sessionWallet = new EOAWallet(); + if (_connectedWalletAddress == null || _sessionWallet == null) + { + _sessionWallet = new EOAWallet(); + } _sessionId = IntentDataOpenSession.CreateSessionId(_sessionWallet.GetAddress()); _intentSender = new IntentSender(new HttpClient(WaaSWithAuthUrl), _sessionWallet, _sessionId, _waasProjectId, _waasVersion); diff --git a/Packages/Sequence-Unity/package.json b/Packages/Sequence-Unity/package.json index 1b0f1c8a..a1b44a3c 100644 --- a/Packages/Sequence-Unity/package.json +++ b/Packages/Sequence-Unity/package.json @@ -1,6 +1,6 @@ { "name": "xyz.0xsequence.waas-unity", - "version": "3.5.0", + "version": "3.5.1", "displayName": "Sequence Embedded Wallet SDK", "description": "A Unity SDK for the Sequence WaaS API", "unity": "2021.3",