Installing Hash Studios Mirrors
Version: This guide is for Unity 2022.3.6f1. The steps may be different in future versions of Unity.
Enhance your VR environment with Hash Studios Mirrors. This mirror prefab offers customizable settings and unique functionalities to create an immersive scene. Compatible with both Quest and PC, this mirror supports both Local and Global functionality.
Features
- Quest & PC compatible
- Supports Local and Global mirror functionality
- Customizable mirror settings
- Trigger-based visibility options
VR Showcase World
Experience Hash Studios Mirrors for yourself here: VRChat Showcase World
Requirements
You can learn how to set up your project beforehand at our project setup guide.
Installation Steps
1. Download and Import the Prefab
- Download Hash Studios Mirrors from our website.
- Import the prefab into your Unity project:
- In Unity, go to
Assets
>Import Package
>Custom Package...
- Locate and select the downloaded prefab package.
- Click
Import
to add the prefab to your project.
- In Unity, go to
2. Add the Prefab to Your World
- Drag Hash Studios Mirrors into your world from the Project window.
- Right-click on the prefab in the Hierarchy window and select
Prefab > Unpack Prefab
.
3. Adjust the Trigger Box
For more detailed information on configuring trigger boxes, visit our Trigger & Box Collider Guide.
- Find the child object called
TriggerBox
. - Move it around using the
Transform
component or resize it with theBox Collider
component. Press theEdit Collider
button to resize.
4. Configure the Mirror Settings
- Select Hash Studios Mirrors in your Hierarchy.
- In the Inspector window, go to the
Settings
section to configure the mirror prefab:- Is Mirror Global: This toggle enables or disables the mirror from being global (Default: off). If the mirror is global, when a player sets the mirror to be active, it is visible to everyone.
- If the mirror is local, you can customize additional options:
- Is Enabled On Trigger Enter: This toggle enables the ability for the mirror to appear when a player enters the trigger box (Default: on).
- Is Disabled On Trigger Exit: This toggle disables the mirror when a player exits the trigger box (Default: on).
Fixing Multiple Players Not Being Visible
For more detailed information on configuring reflection layers, visit our Understanding Unity Layers with Udon documentation.
If you encounter an issue where multiple players are not visible in the mirror, follow these steps:
- Select the
Hash Studios Mirrors
prefab in the Hierarchy. - Click on each mirror variant (
High Quality
,Low Quality
,Skybox
,Avatar
). - In the Inspector window, locate the
VRC Mirror Reflection
component. - In the
Reflect Layers
dropdown, make sure to select bothPlayer
andPlayer Local
.
By following these steps, you ensure that the mirror can render multiple players correctly, solving the visibility issue. This setup helps create a more immersive and accurate reflection experience in your VR environment.
Patreon Access
Patreon members get exclusive access to Hash Studios Mirrors from 6/20/2024 - 7/29/2024. Join our Patreon to take advantage of this limited-time offer!
By following these steps, you can successfully install Hash Studios Mirrors and enhance your VR environment with customizable mirror settings and unique functionalities.
For more detailed information and resources, visit the Official Website.