Assets/_MolcaSDK/_VR/Scripts/Scenario/Steps/TeleportStep.csBase: Step
Role
Subscribes toTeleportingEvent while active; handler currently logs the destination only. Does not call Complete() in the SDK version— treat as a stub or extend locally.
Code
AssignteleportingEvent from your XR teleport/locomotion stack. Stock OnTeleportRequest only logs — fork or patch so the handler completes the step, for example:
Complete() runs from that callback (or a custom Step), the sequence will not advance.
Troubleshooting
- Step never completes — Expected with stock
TeleportStep.cs: addComplete()in the teleport callback or replace with a customStep. - Null reference — Assign
teleportingEventreference from your locomotion/teleport setup. - Multiple teleports — Decide whether first teleport only should complete (track a bool before calling
Complete()).
Related
- VR player manager — locomotion providers
- Step (base class)
Unity Editor
TeleportStep on player rig or training volume.
