0) Import Demo DevicePresets

Before you can create or manage device presets in XRBuildKit, you need to import the demo device preset files into your project. This one-time setup step will copy all necessary sample settings and folders required for XRBuildKit to manage presets safely.

Why Import Presets?

  • Ensures your project has the correct folder structure for device presets

  • Provides sample configuration files for quick onboarding

  • Prevents errors when saving or loading device presets

How to Import Presets?

  1. Import the Sample Presets

  • In Unity Editor, go to the UPM and select 'Samples' of 'XRBuildKit' and Import 'Device Preset Samples'

Device Preset Samples
  1. Open the XR Device Presets window:

    • In Unity Editor, go to the top menu and select XRBuildKit → Settings → XR Device Presets

    Open 'XR Device Presets' window
  2. Find the "Import Demo Device Presets" section:

    • At the top of the window, you'll see a section labeled "1) Import Demo Device Presets"

    Section of Import Demo Device Presets
    • Read the help box to understand what will be imported.

  3. Click the "Import Demo Device Presets" button:

    • Press the Import Demo Device Presets button.

    • You will be asked to confirm the action in a dialog.

  4. Confirm and complete the import:

    • In the popup, click "Yes" to proceed.

    • XRBuildKit will copy all required folders and files into the XRBuildKit directory in your project root.

    • You will see a confirmation message in the Unity Console if successful.

    Demo Device Presets

Tip: This step is only required the first time you use XRBuildKit in a new project, or if you want to restore demo sample presets.


Troubleshooting

  • No "Import Demo Device Presets" button? Make sure the XRBuildKit package is properly installed and that you are using Unity Editor.

  • Error about missing folders? Ensure you have write permissions for your project directory.

  • Still having issues? Check the Unity Console for error messages and consult the FAQ.

Last updated