,Cloned TeleportArea not working

I am trying to clone a Teleport Area (from the SteamVR package) using this script (Unity - Scripting API: Object.Instantiate). The cloned object appears in my scene hierarchy, but doesn’t actually appear in the game.

I can clone other objects just fine, only the TeleportArea isn’t working.

Is there some gotcha that has to do with instantiating scripted objects that I should know about?

Okay, figured out what the problem was:

In teleport.cs, the line

teleportMarkers = GameObject.FindObjectsOfType<TeleportMarkerBase>();

Is called inside of the start() function. You will need to update this variable to include your new teleport areas.