Skip to content

Conversation

@daniele-dcl
Copy link
Contributor

Pull Request Description

Fixes #6283

Switching profile without closing the app would not stop running Smart Wearable scenes.

What does this PR change?

On logout we need to unload any smart wearable scene that is running and clear any related cached info.

  • I added a new event published with the generic IEventBus on log out
  • A system in the Smart Wearables plugin listens to that event and handles it by performing all of the necessary cleanup

Test Instructions

  1. Log in with a user that has a Smart Wearable, possibly one that adds some clearly visible UI on screen
  2. Log out WITHOUT closing the app and switch to a different player
  3. Now you should NOT see the effects of the previously equipped SW anymore, e.g., no more extra UI
  4. Switch back to the profile with SWs, still without exiting the app, the SW should resume running normally

No need to go to any specific place.

@daniele-dcl daniele-dcl self-assigned this Dec 18, 2025
@daniele-dcl daniele-dcl requested review from a team as code owners December 18, 2025 10:05
@github-actions
Copy link
Contributor

github-actions bot commented Dec 18, 2025

# Conflicts:
#	Explorer/Assets/DCL/Infrastructure/Global/Dynamic/DynamicWorldContainer.cs
@daniele-dcl daniele-dcl added the clean-build Used to trigger clean build on PR label Dec 18, 2025
Copy link
Contributor

@lorenzo-ranciaffi lorenzo-ranciaffi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left only a comment, looks good otherwise 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean-build Used to trigger clean build on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[QA] Smart Wearables | Smart wearable in screen options display for a user who does not have smart wearables equipped

3 participants