-
Notifications
You must be signed in to change notification settings - Fork 94
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
fix: the profile picture display the full image of the avatar #5985
fix: the profile picture display the full image of the avatar #5985
Conversation
After the CI passes: WebThis branch can be previewed at:
Desktop:If you have the launcher installed (download launcher) you can press open on the following link: SDK 6/7:More |
❌ fix failed. Despite the profile picture displaying correctly, the avatar customization changes are not persisting. After multiple modifications, upon loading the world, the avatar reverts to the default state as if no changes were made. Screen.Recording.2023-11-27.at.16.16.16.mp4 |
@Ludmilafantaniella you can re-test, I've fixed it. |
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.
✅ Fix verified on both Desktop and browser. Customized changes persist after world load, and the profile picture displays the head of the avatar as expected.
Screen.Recording.2023-11-27.at.17.59.46.mov
unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/SignupHUD/SignupHUDController.cs
Outdated
Show resolved
Hide resolved
I dont really feel confortable on the back and forth from signup to backpack through datastore. Perhaps an interface for saving the profile could have been injected into the signup? Anyway im approving |
I agree, we rely too much on singletons there |
What does this PR change?
Fix #5967
During the flow of the sing in, if the avatar was customized, we saw that the avatar profile picture was displayed as the full body instead of just the head.
Now the avatar snapshot is saved correctly:
How to test the changes?
Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md
Copilot summary
🤖[deprecated] Generated by Copilot at 48e28b9
This pull request adds a new flag
isWaitingToBeSavedAfterSignUp
to the backpack data store and the HUD controllers for the backpack editor and the signup flow. The flag is used to trigger a terms of service agreement step before saving the backpack in the signup process. The HUD controllers are updated to subscribe and react to the flag changes.