Skip to content
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: scene restriction error on shutdown #3454

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

lorenzo-ranciaffi
Copy link
Contributor

@lorenzo-ranciaffi lorenzo-ranciaffi commented Feb 28, 2025

Pull Request Description

When the Explorer is shut down we have some exception being thrown. This PR addresses one of them regarding the scene restriction bus.

Addresses parts of #3428

What does this PR change?

Implements a dispose pattern on the SceneRestrictionBusController in order to free its delegate preventing any unwanted invocation during the shutdown phase.
Also adds a method to unsubscribe from the bus at will.

Test Instructions

While the S3 problem is present, these are the links for the builds:

Test Steps

  1. Launch the explorer
  2. Play some mini games
  3. Close the explorer
  4. Check the logs and verify that it is free from any errors related to the scene restrictions

Code Review Reference

Please review our Code Review Standards before submitting.

Copy link
Contributor

github-actions bot commented Feb 28, 2025

badge

Build failed! Check the logs to see what went wrong

@lorenzo-ranciaffi lorenzo-ranciaffi marked this pull request as ready for review February 28, 2025 11:50
@lorenzo-ranciaffi lorenzo-ranciaffi requested review from a team as code owners February 28, 2025 11:50
Copy link

@Ludmilafantaniella Ludmilafantaniella left a comment

Choose a reason for hiding this comment

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

🟢 I tested on both Windows and Mac, completed all the daily quests, and checked the logs for any errors related to SceneRestrictionBusController, NullReferenceException, ObjectDisposedException, or any unhandled exceptions during shutdown. No related issues were found.

Approved from QA 🚀

3454-evidence.mp4

Regressions for this ticket had been performed in order to verify that the normal flow is working as expected:

  • ✔️ Log In/Log Out
  • ✔️ Backpack and wearables in world
  • ✔️ Emotes in world and in backpack
  • ✔️ Teleport with map/coordinates/Jump In
  • ✔️ Chat and multiplayer
  • ✔️ Profile card
  • ✔️ Camera
  • ✔️ Skybox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants