# Unity

We're excited to release version 3.2.0 of our Unity plugin! This version builds on the new features introduced in v2.0 and adds much more - including support for developing interactive applications that can be run [from iOS devices](https://lfdocs.lookingglassfactory.com/software/index/developing-for-ios). We're excited for you to try out! If you have any issues, feature requests, or general feedback, please post on our [Discord](https://discord.gg/lookingglassfactory).

[Download the plugin here](https://look.glass/unity)

## Requirements

* Unity 2021.3+
* Looking Glass Bridge v2.0.9 or newer
* A Windows machine with dedicated graphics card
* An Apple Silicon Mac
* iPhone 15/16 Pro or Pro Max
* iPad Pro (M4)

{% hint style="info" %}
Windows computers with discrete graphics cards like an RTX 3070 are strongly recommended.
{% endhint %}

{% hint style="warning" %}
No support for the HDRP.
{% endhint %}

## Feature Overview Video

{% hint style="info" %}
This video was created for v2.0.0-alpha of the plugin and some things have changed in v3.0+.
{% endhint %}

{% embed url="<https://www.youtube.com/watch?v=OXFd0uH6L0g>" %}
This walkthrough video shows you the latest features in the v2.0 release!
{% endembed %}

## Features

* Run interactive scenes from within the Unity editor and in packaged builds
* Create apps for iOS devices
* Record holograms from the Unity editor
* Use hardware buttons for Looking Glass devices (Windows only)
* Post-processing stack for holograms
* 3D cursor and orbit controls for holographic interactions

### New in 2.0+

#### Depthiness Slider

We've added a new "depthiness" slider to the Looking Glass camera setup. You can now adjust the depth of your scene without changing other settings like the field of view or focus.​​

<figure><img src="https://content.gitbook.com/content/PuCaeVAli72TiclYlEG5/blobs/23wyXKPRtiH8fWVb0zit/DepthinessSlider.gif" alt=""><figcaption></figcaption></figure>

#### Camera Transform Mode

We've made an additional Hologram Camera "Transform Mode" that makes it behave much mroe like a conventional camera, called "Camera." In this mode, the pivot will shift to be centered on the position of the central perspective (rather than the center of the volume) and the focal plane can be moved/animated.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfNeLDf839hEkmkTWwMWR%2Fuploads%2FjlI47d9CSdFaKoJAlcv6%2FCameraTransformMode.gif?alt=media&#x26;token=4b5a4a42-3921-4fcc-90b4-675424f3336f" alt=""><figcaption></figcaption></figure>

#### Holographic Cameras Creation Improvements

You can now turn normal Unity cameras into Looking Glass camera objects by right clicking them and selecting "Looking Glass" -> "Convert to Hologram Camera."

#### Quilt Capture Improvements <a href="#new-quilt-capture-settings" id="new-quilt-capture-settings"></a>

We've completely revamped the way to capture quilt images and videos. You can now take screenshots directly from the UI using the screenshot button on the Quilt Capture component.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfNeLDf839hEkmkTWwMWR%2Fuploads%2Fg9VdY617FIdsjfgnG52E%2FVideoCapture.gif?alt=media&#x26;token=9cbbfdf3-09bc-499a-bad5-8fdffcb4d374" alt=""><figcaption></figcaption></figure>

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfNeLDf839hEkmkTWwMWR%2Fuploads%2F0q6Y8U80oJkJgR01aFht%2FScreenshotCapture.gif?alt=media&#x26;token=b152fd3d-d1fe-425d-a883-e8481a1c1153" alt=""><figcaption></figcaption></figure>

#### Blocks Integration  <a href="#new-blocks-integration" id="new-blocks-integration"></a>

Want to share your holograms on the internet? We've got you. We've added a [blocks.glass](https://blocks.glass/) integration directly to the Unity Plugin. You can go straight from the Unity editor to an uploaded hologram.

#### Hologram Preview <a href="#new-hologram-preview" id="new-hologram-preview"></a>

You can now preview Holograms directly in the unity editor without a Looking Glass Display connected, just like viewing blocks on [blocks.glass](https://blocks.glass/).​

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfNeLDf839hEkmkTWwMWR%2Fuploads%2Foyy3wLe2Vj7AKdx54pLX%2FHologramPreview.gif?alt=media&#x26;token=cb3b945a-90fb-4412-965f-1b839f3f4c1a" alt=""><figcaption></figcaption></figure>

#### URP support (beta) <a href="#new-limited-urp-support" id="new-limited-urp-support"></a>

Run interactive applications and record content from scenes built in the Universal Render Pipeline (URP). Currently no support for post-processing or the 3D cursor.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfNeLDf839hEkmkTWwMWR%2Fuploads%2FnEEnvovixMQmwZ0rPoj5%2FURPSupport.gif?alt=media&#x26;token=ed5b0076-6654-41d2-82e5-7c46fde27b10" alt=""><figcaption></figcaption></figure>

#### Render Stacking  <a href="#new-render-stacking" id="new-render-stacking"></a>

You can now use quilts as background elements for your scenes, allowing you to "stack" holograms into multiple layers.

#### Force Display Index

We have added a toggle to override our logic that forces the Looking Glass window onto the Looking Glass display in builds. This improves setups with two monitors that use raycasting and UI events on a 2D display.

## Running Mac Builds

Mac builds got a major improvement in v2.0.8 of the plugin, but still have UX issues. In particular, builds will resize and change position for a few seconds before correctly rendering on the Looking Glass device.

## Running Linux Builds

{% hint style="info" %}
This is not fully tested in v2.0+ of the plugin.
{% endhint %}

Beginning with version 1.3.0 of the Unity plugin, we have experimental support for Linux (Ubuntu).

However, due to some complications around Unity's window management system, when running builds on Linux it's necessary to launch them from the command line with the "-adapter" parameter set to the index of your Looking Glass display, as in the following example:

`YourApp.x86_64 -adapter 2`

The above sets your app to run on your second display, which, typically, is the index of your Looking Glass.

Additionally, in version 1.4.0+ of the plugin, there is no support for video recording with Linux. There is a missing dependency to enable this, FFmpeg, which we are aiming to include for Linux users in the future.

## Known Issues <a href="#known-issues" id="known-issues"></a>

See our list of known issues [here](https://lfdocs.lookingglassfactory.com/software/index/additional-support).

## Design Guidelines

Building experiences for the Looking Glass can be challenging because it's such a new medium. To make sure your demos really pop, take a look at our [Design Guidelines](https://lfdocs.lookingglassfactory.com/keyconcepts/3d-design-guidelines).

## Having Issues?

If you're having issues with our Unity Plugin please email us at **<developer@lookingglassfactory.com>** or post on our [Discord](https://discord.gg/lookingglassfactory)**.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lfdocs.lookingglassfactory.com/software/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
