Skip to content

Hubs scene debugger

Manuel Martin edited this page Dec 18, 2023 · 7 revisions

The Hubs scene debugger allows Blender users to easily iterate over assets creation without leaving Blender. You can use it to iterate over scenes, avatars or any other asset that you are planning to use in Hubs.

The debugger uses Selenium to create a browser instance where a Hubs room will be running. The add-on will export and update the room when using the debug local scene mode or spawn the Blender scene in Hubs if running on spawn object mode.

Setup

Installing dependencies

As the debugger depends on Selenium, first you'll need to install the selenium python dependencies for the debugger to work. You can do this from the Hubs add-on preferences.

Screenshot 2023-12-18 at 13 47 41

Settings

The debugger has a few configuration options:

  • Browser: The browser that will be used for running the Hubs session.
  • Delete browser profile: The add-on will create a browser profile separated to your local browser profile. The profile stores things like settings, cookies, local storage, etc. You can delete the profile if you want to completely remove the profile.
  • Override executable path: In some operating systems selenium might have trouble finding the browser executable. In case you find issues with it, you can manually specify the path to the browser executable.

Uninstalling dependencies

If you experience any selenium issues running the scene debugger you can try to remove the dependencies. The force option will completely remove the dependency folder when uninstalling.

Using the scene debugger

Session status

The first panel in the scene debugger indicate the status of the debugging session. The possible states are:

  • Waiting for room: The browser session has not yet been create
  • Entering the room: The session has been opened but the user is not yet in the room. You won't be able to update the scene in this state.
  • Waiting for signin: You are int he room but you are not yet signed in the Hubs session. This will limit the debugging types and you'll only be able to spawn objects but not to update the room scene.
  • In room: You are in the room and the user is signed in. In this state you will be able to update the room scene or spawn objects in the scene.
Clone this wiki locally