URP/HDRP Setup

If you have any issues at all, don't hesitate to contact me on the contact page on the left hand side, via email or on Discord.

Step 1: Don't import "Project Settings"

Step 2: Upgrading All Materials (If they're pink)

Edit > Render Pipeline > Universal Render Pipeline > Update Project Materials

Step 3: Create the layers you'll need

Create these at the top right of the inspector by clicking the layers dropdown!

  • ExamineLayer

  • InspectPointMask

  • Interact

Step 4: Camera Setup (The Scene or Camera maybe completely white)

  1. Select your "Main Camera" and set the "Culling Mask" so that you UNTICK the "ExamineLayer" - As we don't want the main camera to render our examinable objects.

  1. On the "Main Camera" find the "Stack" options and click the "+" icon and now add the "ExamineCamera" to this slot (The Examine Camera will need to be an "Overlay" - See details below)

  1. Select the “Examine Camera” and make sure the “Culling Mask” is set to “ExamineLayer” and "InspectPointMask"– Make sure to create this in the layers at the top right of the inspector if not already

  2. Select the “Examine Camera” and make sure it’s type is “Overlay Camera” and NOT “Base”. Only one camera, your main camera should be set to “Base”. (Only relevant to URP and NOT HDRP)

  3. Make sure to create another layer called “Interact” and all your interactive objects from the demo will be set as default

  4. I edited the “DisableManager” script to incorporate the use of disabling the canvas (Which is instead of the blur effect, which is commented out for URP / HDRP) but this would need to be changed by enabling and disabling a type of blur effect.

POSSIBLE ERRORS or ISSUES:

ANTI-ALIASING ERROR:

"Setting anti-aliasing of already created render texture is not supported! UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"

SOLUTION: Turn Reflection probes on / off - Please note this is a Unity error and not related to my package or project! :)

PADLOCKS DISPLAYING THROUGH OBJECTS?

SOLUTION: Look at all the children of a "Padlock" that you can interact with in the scene

Make sure they all have the layer of "Default" and not "ExamineLayer" or anything similar.

INSPECT POINTS NOT SHOWING?

SOLUTION: Select the "InspectPoints" for an object, take the knife for example and set:

The Object "Layer" to "InspectPointMask"

Last updated