Developer Tools for Tutorials
To assist in building out your worlds, the following tools are available.
When you are building and refining a world, you may find it valuable to have access to the debug console while you are in headset. When the Debug Console gizmo is deployed in your world, you can see debug messages displayed on a panel in the VR environment.
You can also Start, Stop, and Reset the execution of scripts in your world while you are in headset.
Debug Console in headset
Debug messages include:
- Errors generated by the server
- Errors generated in your TypeScript
- Any console messages that you log from your TypeScript
In the desktop editor, this information is displayed in the Console tab. However, it is not available in headset unless you deploy the Debug Console gizmo.
When you are in headset, you can review realtime performance metrics of your world running on the platform.
Through the following display, you can inspect the results to scrub performance over a recent interval, which provides greater fidelity on the data.
Performance Profiling tools
- Perfetto tracing: Click the Red button to begin a trace capture of your world. This tracing down can later be analyzed through Perfetto.
- Performance scrubbing: Click the Inspect button to analyze data on recent segments of activity in greater detail.
These metrics are displayed through the Utilities menu in your avatar’s wrist. This menu must be enabled.