-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HyperPlay package added and remember me functionality #984
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SMall change required but overall nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember me is working, but when you log out, you can't login again, the issue is that the "Login with Hyperplay" button doesnt do anything.
I see this error log always when I start the session:
[Web3] Failed to clear hyperplay-data.json : File not found.
UnityEngine.Debug:LogError (object)
ChainSafe.Gaming.Web3.Unity.UnityLogWriter/<>c__DisplayClass3_0:<LogError>b__0 ()
ChainSafe.Gaming.Evm.Unity.Dispatcher/<ActionWrapper>d__13:MoveNext ()
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
ChainSafe.Gaming.Evm.Unity.Dispatcher/<>c__DisplayClass8_0:<Enqueue>b__0 ()
ChainSafe.Gaming.Evm.Unity.Dispatcher:Update ()
And this when I do the logout:
UnexpectedException: DB:File Opened Twice, /Users/juanmanuelspoleti/Library/Application Support/DefaultCompany/UnitySampleProject/db3.box, Threads
iBoxDB.ByteCodes.C277.m523[T] (System.String p1, System.Exception p2) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.ByteCodes.C277.m523 (System.String p1, System.Exception p2) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.LocalServer.IO.BoxFileStreamConfig.CreateStream (System.Boolean flushBeforeRead, System.String path, iBoxDB.LocalServer.StreamAccess access) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.LocalServer.IO.BoxFileStreamConfig.CreateStream (System.String path, iBoxDB.LocalServer.StreamAccess access) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.ByteCodes.C253..ctor (System.String p1, iBoxDB.LocalServer.DatabaseConfig p2, iBoxDB.LocalServer.Replication.IBoxRecycler p3) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.ByteCodes.C252.m196 (iBoxDB.LocalServer.DatabaseConfig p1, System.String p2, iBoxDB.LocalServer.Replication.IBoxRecycler p3) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.ByteCodes.C30..ctor (System.Int64 p1, System.String p2, iBoxDB.LocalServer.DatabaseConfig p3, iBoxDB.LocalServer.Replication.IBoxRecycler p4) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.LocalServer.LocalDatabaseServer.GetInstance (System.String name, System.Int64 address) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.LocalServer.LocalDatabaseServer.GetInstance (System.Int64 address) (at <4b0517faac254d598dd4ca5cab979027>:0)
iBoxDB.LocalServer.DB.Open (System.Int64 destAddr) (at <4b0517faac254d598dd4ca5cab979027>:0)
Plugins.CountlySDK.Helpers.StorageAndMigrationHelper.OpenDB () (at /Users/juanmanuelspoleti/Desktop/workspace/web3.unity/Packages/io.chainsafe.web3-unity/Runtime/Plugins/Countly SDK/Plugins/CountlySDK/Helpers/StorageAndMigrationHelper.cs:96)
Plugins.CountlySDK.Countly.Init (Plugins.CountlySDK.Models.CountlyConfiguration configuration) (at /Users/juanmanuelspoleti/Desktop/workspace/web3.unity/Packages/io.chainsafe.web3-unity/Runtime/Plugins/Countly SDK/Plugins/CountlySDK/Countly.cs:316)
CountlyAnalytics..ctor (ChainSafe.Gaming.Web3.IChainConfig chainConfig, ChainSafe.Gaming.Web3.IProjectConfig projectConfig) (at /Users/juanmanuelspoleti/Desktop/workspace/web3.unity/Packages/io.chainsafe.web3-unity/Runtime/Scripts/CountlyAnalytics.cs:33)
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <e307bbb467104258887a104f6151f183>:0)
This is a Countly issue, and it happens when we try and initialize Countly again |
@kantagara any thoughts |
Just in case, these log errors are not happening in dev, and logout login again is working in dev |
Nvm it was a duplicate instance issue, fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues were fixed, no more log errors and you can logout and login again.
* working remember me * new HyperPlay package with samples * Cleanup and Added documentation * removed erroneous using statement in Web3Builder * dependency updated to 2.6 * checkpoint * countly issue fix * added duplicate_samples text file
No description provided.