Comments (6)
Your log only seems to show Auth calls, nothing to do with Connect?
If the issue you have is like one we saw, we found that brand new epic accounts would have no Product User ID yet, and Connect login calls would returns invalid user. We needed to react to that situation and call Connect CreateUser to make sure that they got their Product User ID that first time, and from there it would work. (The docs are hazy on this and mostly refer to it in terms of non-epic flows, but it appears to be necessary)
from eos_plugin_for_unity.
@secondimpactrob Only this log is there. I believe his last line contains useful information:
Error response received from backend. ServiceName=[EOSAuth], OperationName=[TokenGrant], Url=[<Redacted>], HttpStatus=[404], ErrorCode=[errors.com.epicgames.eos.auth.user_not_found], NumericErrorCode=[110016], ErrorMessage=[EOS User Identity not found
Immediately after it, StartConnectLoginWithEpicAccount returns InvalidUser.
You right, the error occurs on new accounts. I created a new account on purpose to check if in-game purchases work in Live environment.
So what advice can you give? What can be done to fix this?
from eos_plugin_for_unity.
I believe what you need to do is:
Following successful Auth login, do your Connect Login.
In the callback, check the result:
-> if SUCCESS, all good
-> if INVALID_USER, call EOSManager.Instance.CreateConnectUserWithContinuanceToken
passing the continuance token you get in the callback.
This approach can be seen in PEW's sample code (inside UILoginMenu.cs), however in their code they then follow up with another Connect login, which I didn't find to be needed.
from eos_plugin_for_unity.
@secondimpactrob Thank you for advice! I tried. But even though the login is successful, LoginCallbackInfo.ContinuanceToken empty and CreateConnectUserWithContinuanceToken returns an error "Invalid parameter EOS_Connect_CreateUserOptions.ContinuanceToken reason: property must not be null"
from eos_plugin_for_unity.
@BestStream the continuance token should come from the failed Connect login callback (where it returns invalid user) not the successful Auth login.
from eos_plugin_for_unity.
@secondimpactrob Thank you very much! It works now. And this really is in the examples (it's strange that I missed this when I transferred the code from there)
from eos_plugin_for_unity.
Related Issues (20)
- Steam Manager does not use recommended ticket HOT 1
- Steam sample code encourages false assumptions about ticket expiry HOT 2
- Windows build - crash on start due to unhandled exception in `EOS_IntegratedPlatform_CreateIntegratedPlatformOptionsContainer` HOT 9
- ContinuanceToken ToString always fails, so they cannot be logged out or seen HOT 3
- Side loaded config dll not loaded in editor? HOT 5
- Add a checkmark to config to disable EOSBootstrapper.exe installation HOT 2
- "Use Unity App Version for ..." checkmark set to true causes IOException during build HOT 3
- Unity 6 Preview Build Support for Android (and possibly iOs) HOT 3
- EOS_Connect_Login - Error response received from backend - Invalid Client HOT 1
- SteamManager callback re-use edge case HOT 4
- Errors in WindowsPlatformSpecifics when using EOS_DISABLE define HOT 2
- AddNotifyLobbyUpdate, AddNotifyMemberUpdateReceived triggers callbacks only on the local player that modifies the attribute. HOT 6
- Google as Identity Provider for Android mobile HOT 7
- 3.2.0 warning: "asmdef will not be compiled, because it has no scripts associated with it" HOT 6
- EOS_DISABLE Scripting Define not compiling HOT 1
- 3.2.0 - wrong placeholders in PlatformSpecificAssets/EOS/[Windows|Mac|Linux]/EasyAntiCheat/Settings.json HOT 2
- LogEOS crashes when incremental GC is enabled on the actual Android device. HOT 1
- Plugin does not detect epic deployment id override arg HOT 4
- Attempted to create lobby with a RTC Room, but RTC is locally disabled. HOT 1
- v3.2.0 DllNotFoundException on Mac? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eos_plugin_for_unity.