FAQ

Should I import project settings? Will it mess up my project?

I would recommend that you make a backup of your project before importing any assets into your scene. The safest way is to create a brand new project and import my assets in but it's safe enough to "Import" the Adventure Kit but UNTICK "Import Projects Settings" when you choose what files to import in. This means it will not overwrite your current settings but only import the required assets!

How do I import the asset?

Go to the Unity asset store and visit your “Download manager”. Download the asset if not already downloaded and click “Import”, import all required features of the asset for your use. It should have appeared in your project under “Adventure Puzzle Kit”.

Why isn't the Demo working? I've just imported the asset!!!

You need to make sure you add two specific layers in the top of the Unity inspector. Add a two name layers of: "Interact" and "ExamineLayer" - It should add those layers to the missing object references!

Do you want to setup the asset in one click?

If you want a really QUICK setup without having to follow any sets, you can go into the prefabs folder and drag in the "AdventureKit_SceneDemo" into your scene - It will have everything added, linked and ready to go!

How can I manually setup this asset?

See the manual setup on the: - AK - Main Setup - AK - Managers Setup - AK - Item Setups

pageMain Setup

I can interact with objects through walls, what should I do?

In the raycast script you can add this section to the top of the raycast

int mask = 1 << LayerMask.NameToLayer(exludeLayerName) | layerMaskInteract.value;

Then at a variable at the top of the script, like so:

[SerializeField] private string exludeLayerName;

On the Main Camera, find the Raycast Script and in the inspector you should have a place to add a string variable name. Add the name of the layer you want to exclude. You can create layers at the top left corner of the Unity inspector. Then make sure to set every single one of the objects (For example: Walls, doors and other objects to "Walls". To exclude the raycast!)

Why can't I see the UI or why is the UI in the wrong place?

that might be because you may have dragged some UI objects into the scene rather than onto the hierarchy. Make sure the X, Y, Z positioning of all parent objects (Which contain the UI’s) are set to 0, 0, 0 in the inspector.

I'm having trouble getting the interaction to work, and activating things. What should I do?

Make sure your 3D objects have the:

  • Set the “LayerMask” at the top right of the inspector to “Interact

  • Set the tag to "InteractiveObject"

  • Make sure this object has a "Box Collider"

  • Make sure it also has the "AKItemController" script

Some of my references in managers or GameObject are missing, what should I do?

In this video below I just detail some of the best ways to connect any missing references, mainly by looking at the variable in the inspector and clicking on the find button (Next to the empty or full slot) and search for the same name, and it will likely be a canvas element. You could even open the Adventure Kit in a new project and compare against the working demo scene!

Can I use a different Character Controller?

This asset is intended for use with the provided (Unity Standard Assets) FPSController - Character Controller but can be replaced by doing a couple of simple modifications. See the link below or send me an email and I’ll be happy to help you out!

Is there an example of this asset working?

Yes, you can open the “AK_Demo_Scene” to see the asset in action or use this scene as your initial base of your project.

Can I use this asset with a 3rd person character or Trigger event?

Yes, you should create a Cube or any other primitive object and add:

  • Make sure this object has a "Box Collider" and set it to "isTrigger"

  • Add the particular trigger script for the particular system.

    • PadlockTrigger

    • KeypadTrigger

    • PhonepadTrigger

    • NoteTrigger

    • SafeTrigger

    • FlashlightTrigger

Add the trigger object to the corresponding controller

I'm getting an error with the "PostEffectsBase" script!

You can comment out these lines if you keep getting a warning from Unity!

if (!SystemInfo.supportsImageEffects)
{
      NotSupported();
      return false;
}

Why can't I interact with objects inside a safe?

A). Make sure that you don't have the collider blocking your interactions as you might need to set a different layer to the safe collider or remove it to interact with objects that maybe blocked by it's collider

Can I use this asset with URP / HDRP?

A). Yes you can, you can check out the setup below for more details. If you'd like any help with this, do send me an email and I'll be happy to help!

pageURP/HDRP Setup

Models are clipping through others

A). This could be because some of the interactive models have an incorrect layer attached, make sure to click on them and choose "Default" - Unless they are specifically something for the system, like inspect points.

Last updated