Comments (4)
Hey, I apologize for creating another issue
Nothing to apologize for @nitrocss.
Helps us make the plugin better and better - plus I usually learn something along the way 😄
I'll look into this and the other issue first thing at the start of next week.
from eos_plugin_for_unity.
We came across this issue too.
If you look at the managing user flow from the epic documentation (https://dev.epicgames.com/docs/game-services/eos-connect-interface#managing-users) you'll see that if the user does not exist, the login API returns a EOS_InvalidUser result along with a EOS_ContinuanceToken. The token provides details about the login attempt and is required during the next steps in the login flow.
So in the flow chart provided at the above link its the red circled state that is missing from this plug-in:
We fixed this by adding a call to EOSManager.Instance.CreateConnectUserWithContinuanceToken in our ConnectLoginCallback.
For Example:
if (connectLoginCallbackInfo.ResultCode == Result.InvalidUser)
{
//Invalid user so create one with the connect ContinuanceToken
EOSManager.Instance.CreateConnectUserWithContinuanceToken(connectLoginCallbackInfo.ContinuanceToken, createUserCallbackInfo => {
Debug.Log($"CreateConnectUser. [{createUserCallbackInfo.ResultCode}]");
}
});
}else{
Debug.LogError($"Connect Login Failed. [{connectLoginCallbackInfo.ResultCode}]");
}
The strange thing was some of our users were able to play and get a valid connect login without this logic so not sure what the difference is to cause it for only some, I've asked epic via support ticket and will update here if I hear back at all.
from eos_plugin_for_unity.
@Kenny5 Excellent to know! Thank you for this. I will add it to our tasks for the week to plug this gap. I appreciate you sharing your solution! :)
from eos_plugin_for_unity.
@nitrocss I'm going to close this issue and mark it as pending
, which is how we track issues for which a work-around has been provided and a change has been introduced to the development
branch, but has not yet made it into stable
or filtered into our releases. Thanks again to @Kenny5 for providing such a clear overview of the problem and how to resolve it.
from eos_plugin_for_unity.
Related Issues (20)
- Syntax errors in release HOT 7
- test HOT 1
- Sessions HOT 2
- Netcode for GameObjects - Kicking a client as a host also kicks the host. (only with EOSTransport) HOT 6
- Using EOS Voice as an Audio Source (LocalRTCOptions) on Create/Join Lobbies HOT 4
- Manual Achievements not working for me - First time using Epic games plugin for Unity HOT 5
- Interrupting joining process causes the host to crash. HOT 8
- Having issues with member inconsistency and lobby backend attributes missing from client. HOT 2
- Member count not updating on host HOT 5
- Win32 Exception HOT 3
- Editor hangs when playing more than one time HOT 5
- NULL EOS Platform returned by native code: issue probably occurred in GFX Plugin! HOT 6
- Error from adding package via Git URL HOT 2
- Reauthorization via steam session ticket HOT 4
- Keychain access request on Mac HOT 4
- Error after importing EOS tarball in Unity on MAC. HOT 2
- UnreliableUnordered reliability is resending packets when more than one client is connected to you HOT 4
- "eac_launcher" app not opening HOT 7
- How do I invite players to EOS lobby set as InviteOnly via Steam invite? HOT 2
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.