Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Guest usernames are overwritten by kernel #350

Open
davidejensen opened this issue Jun 20, 2022 · 1 comment
Open

Guest usernames are overwritten by kernel #350

davidejensen opened this issue Jun 20, 2022 · 1 comment
Labels
bug Something isn't working stream-core

Comments

@davidejensen
Copy link
Member

I was debugging the unity-explorer issue decentraland/unity-renderer#2432 and I realized that this might be a kernel bug.

Basically when we create a new guest user the name we pick in creation is always overwritten by a random name picked casually and the email is always empty.
I'm saying it might be a kernel issue because in the messages we receive after the character creation and after we send correctly the message SendPassport with new name and email, the first message we receive of type LoadProfile holds the correct information, then there is another LoadProfile one that has wrong info, following the two payloads received.

First correct one (with no mail):

{"userId":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","email":"","version":2,"hasClaimedName":false,"ethAddress":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","tutorialStep":0,"name":"TestUsr#35a5","description":"","avatar":{...

Second wrong one (with no mail):

{"userId":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","email":"","version":2,"hasClaimedName":false,"ethAddress":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","tutorialStep":0,"name":"Lujube#35a5","description":"","avatar":...

Also after pressing the "Got It" button in the first screen that appears i receive another LoadProfile message that again is with the wrong name and has the version 3:

{"userId":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","email":"","version":3,"hasClaimedName":false,"ethAddress":"0xdf00299f60ac4c0f6cf9e91692f6bc29e1f235a5","tutorialStep":256,"name":"Lujube#35a5","description":"","avatar":
@davidejensen
Copy link
Member Author

As requested by @menduz here is the trace of messages in which you can see the discrepancy:
TraceGuestUserCreation.csv

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working stream-core
Projects
None yet
Development

No branches or pull requests

2 participants