Vizard is the companion visualization application for the Basilisk spacecraft simulation framework. The purpose of Vizard is to provide an intuitive way to view the results of a simulation scenario. Vizard creates only the objects (spacecraft and celestial bodies), actuators, and instruments included in the scenario while providing some visual tools (orbit lines, pointing vectors, keep out/in cones, etc) to allow the user to evaluate the current results displayed.
This repository contains the open source Unity Vizard project and documentation and supports building Vizard applications for MacOS, Windows, and Linux platforms.
Vizard's Unity project.
-
Install the Unity Hub. If not installed on your machine, in your web browser visit:
and follow their instructions to install the Unity Hub for your platform on your machine.
-
Install the Unity6000.0.68f1 LTS editor on your machine. Vizard is currently based on this Unity Editor version.
- In the Unity Hub, click "Installs" on the left side of the panel to see the Installs tab.
- Click the "Install Editor" button on the top right.
- Click the "Archive" tab at the top of the panel. Click the "download archive link" to go to the Unity Archive website.
- On the Unity download archive, make sure Unity 6 is selected and then select "LTS" from the row of options below.
- Scroll down to the 6000.0.68f1 (released Feb 18, 2026) and click Install to the right.
- A dialog box will ask to "Open Unity Hub?", click the "Open Unity Hub" button.
- Select the desired Unity Editor for your platform.
- A panel will open with "Install Unity 6.0 (6000.0.68f1)" at the top. There will be a list of additional installation options. Select any of the additional downloads shown that are desired. Items to consider:
- Visual Studio Code
- Linux Build Support (Mono)
- Mac Build Support (IL2CPP)
- Windows Build Support (Mono)
- Click Install to have Unity Hub install the Editor and all additional download options.
-
Check-out the master branch and clone the Vizard repository. Note that Vizard uses git lfs for texture and model files (see the .gitattributes file for specifics) and cloning will pull down the necessary git lfs files.
-
Open the Vizard Unity Project.
- Start the Unity Hub.
- In the Unity Hub panel, click the "Add" dropdown (top right) and select "Add Project From Disk".
- Navigate to inside the Vizard>VizardUnityProject directory and click the "Open" button on the file browser.
- In the Unity Hub project list, click on the newly added project to open it. (Note: If your installation Unity6000.0 does not match the repository's last used version, the Unity Editor will ask you to confirm opening the project in a non-matching editor, click Yes)
-
Load the VizardStartupScene in the Unity Editor. Once the VizardUnityProject has finished importing, type "VizardStartupScene" in the Editor Project search bar (bottom center). Double-click on the VizardStartupScene Unity asset shown in the results to open the scene in the Hierarchy (top left).
-
Install TMP Essentials Unity Package. After completing starting the project, click inside the hierarchy and open the StartUpCanvas>Panel>VersionText. This will help force the Unity Editor to pop up the "TMP Importer" panel. Click the "Import TMP Essentials" button to add TextMeshPro UI asset support to the project. After the TMP Essentials have installed, you can close the panel (TMP Examples & Extras and not necessary and can be skipped).
-
Test local installation. Press the Play button at the top center of the Unity Editor and in the Game screen, use the "Select" button to navigate to a Basilisk scenario .bin file to confirm successful installation.
-
Optional: Install C# IDE. A C# IDE is recommended for script editing. Both Visual Studio and JetBrains Rider have optional packages to support Unity Development.
- In the Unity Editor, open the Build panel (File>Build Profiles)
- Select the desired target platform from the left-hand list. Note: If the platform you wish to build for is not listed, return to the Unity Hub and install support for the desired platform.
- Confirm that the VizardStartupScene and the VizardMainScene are checked in the Scene List (right panel). If not:
- Select "Scene List" from the left-hand panel.
- In the Scene tab, enable both scenes by checking their boxes.
- Click "Build" or "Build And Run" to build the app at the location you select. (Note that the first build for each target platform will take a long time as Unity compiles shaders for the platform. Subsequent builds will be much faster. Rebasing the project on a newer release of the Unity Editor will incur the long shader compiles as well.)
- Note: Users of the Vizard Application will have to install any desired optional Vizard Addressables bundles locally on their machine. They will not be included in the built application.
- If platform-native file browser support is desired, purchase the crosstales File Browser PRO asset from the Unity Asset store: https://assetstore.unity.com/packages/tools/utilities/file-browser-pro-98713?_ga=2.91810076.784070175.1623179805-396823333.1600266143&_gl=1*1dgp1sa*_ga*Mzk2ODIzMzMzLjE2MDAyNjYxNDM.*_ga_1S78EFL1W5*MTYyMzI2NzQ0Ny44LjAuMTYyMzI2NzQ0Ny42MA..&utm_source=partnerize&clickref=1110l35YyIPA&utm_medium=affiliate&utm_campaign=unity_affiliate
- In the Unity Editor, open the Package Manager (Window>PackageManager). Make sure the Editor is not in Play-mode.
- In the PackageManager panel, click on "My Assets" in the list on the left side.
- Click on "File Browser PRO"
- In the right panel, click "Import 2024.1.1 to project" (or newer version, if available and desired)
- In the "Import Unity Package" panel that opens, click the "Import" button (bottom right). Note: It is recommended you import the entire File Browser PRO package unless you are familiar with its contents.
- The "FB PRO" panel will pop up. Close the FB PRO panel.
- Open the Unity Player Settings by navigating to Edit>Project Settings. Click on "Player" in the left-hand list.
- Scroll down to the Scripting Define Symbols in the Player Settings. Click the + button and type "USE_NATIVE_FILE_BROWSER" into the newly added space. Click "Apply".
- Press Play in the UnityEditor and then "Select" to test the newly added platform native file browser.
The atmosphere shader materials available for Earth, Mars, and Venus are available as part of the Vizard_HD_Materials bundle at:
https://avslab.github.io/basilisk/Vizard/VizardDownload.html
-
Download any optional Vizard Addressables asset bundles from the above webpage. Important: They are platform-specific, so take care to download the correct version for your machine.
-
Unzip the downloaded archive and install the four files contained in the bundle into the ~/Vizard/Resources/Custom Models/ directory on your machine. Note that the files must be installed at the root level of that directory to be found by Vizard.
Windows path:
C:/Users/user_name/AppData/LocalLow/Vizard/Vizard/Resources/CustomModelsLinux path:
/home/user_name/.config/Unity3d/Vizard/Vizard/Resources/CustomModelsMacOS path:
/Users/user_name/Library/Application Support/Vizard/Vizard/Resources/CustomModels -
Repeat for any additional Vizard Addressable bundles desired.
Vizard has been configured to run with the Unity Open XR packages and is currently in use with Meta Quest 2 and Quest 3 headsets. The Meta Horizon Link application must be installed on your Windows machine and your Quest headset must have developer mode enabled.
To enable the Virtual Reality implementation of Vizard in the Vizard Unity Project:
- Open VizardUnityProject in the Unity Editor.
- Install XR Packages
- Open the Unity Package Manager panel (Window>Package Manager).
- Select "Unity Registry" from left-hand list.
- In the list of available packages, select "XR Interaction Toolkit".
- In the information panel (right) showing the XR Interaction Toolkit package details, click "Install".
- Next, in the list of available Unity Registry packages, select "XR Plug-In Management".
- In the information panel (right) showing the XR Plug-In Management package details, click "Install".
- Close the Unity Package Manager.
- Enable OpenXR in XR Management Plugin
- Open the Project Settings panel (Edit>Project Settings)
- Select "XR Plug-In Management" in the left-hand list.
- Check the "OpenXR" option in the list of Plug-in providers.
- Confirm that "Initialize XR on Startup" is enabled above the list of Plug-in providers.
- Add the VIZARD_OPENXR compile argument
- Select the "Player" settings in the left-hand list of the Project Settings panel.
- Scroll down to the Scripting Define Symbols in the Player Settings. Click the + button and type "VIZARD_OPENXR" into the newly added space. Click "Apply".
- Add VizardVR_MainScene to Scene List
- Open the Build Profiles panel (File>Build Profiles).
- Select "Scene List" from the left-hand list.
- In the Scene List tab, check the "Scenes/VizardVR_MainScene" checkbox. Optional: Disable the 2D main scene by unchecking "Scenes/VizardMainScene".
- Connect Quest headset
- Open the Meta Horizon Link app.
- Connect your Quest headset to your machine via physical cable (preferred) or Bluetooth and enable the Link. The headset should display a white waiting room.
- Press Play on the Unity Editor on your desktop. You will need to navigate selecting a playback file or connecting a live Basilisk simulation from the Editor window on your desktop. File selection is not currently available inside the Quest headset in Vizard.