# Calling TeleportTo() on an empty mutator\_zone\_device causes verse to crash

**URL:** <https://forums.unrealengine.com/t/calling-teleportto-on-an-empty-mutator-zone-device-causes-verse-to-crash/1319524>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, crash, fortnite-creative, fortnite\
**Created:** [October 2, 2023, 5:28am UTC](https://forums.unrealengine.com/t/calling-teleportto-on-an-empty-mutator-zone-device-causes-verse-to-crash/1319524 "2023-10-02T05:28:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vacui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vacui/32/757866_2.png) [@Vacui](https://forums.unrealengine.com/u/Vacui)\
**Post date:** [October 2, 2023, 5:28am UTC](https://forums.unrealengine.com/t/calling-teleportto-on-an-empty-mutator-zone-device-causes-verse-to-crash/1319524/1 "2023-10-02T05:28:24Z")

</div>

### Reference ID

5dc91a08-4e5b-321e-dcb0-cb912323ad73

### Please select what you are reporting on:

Creative

### What Type of Bug are you experiencing?

Verse

### Summary

Creating a CreativeDevice Verse variable that is @editable and is left at the default value of , and then attempting to teleport that device, causes the Verse runtime to throw an exception / error with the following text

```auto
LogVerse: Error: VerseRuntimeErrors: Unknown error in GetTransform()

```

### Steps to Reproduce

1. Load private island 8236-4974-0140
2. Start the game (launch off the starting platform)
3. Play for approximately 10 seconds

—or—

1. Create a custom verse device with the following code:

```auto
    @editable MyZone : mutator_zone_device := mutator_zone_device{}

    MoveMyZone():void=
        if:
            MyZone.TeleportTo[vector3{ X:=0.0, Y:=0.0, Z:=0.0}, rotation{}]

```

1. Start the map and execute the function MoveMyZone(). Make sure that you do not assign a value to MyZone in the editor (leave it as None)

### Expected Result

Verse ignores the request to teleport a device that is left at the default None value, and continues to run properly and execute user code.

### Observed Result

The following log appears in the Output Log:

```auto
LogVerse: Error: VerseRuntimeErrors: Unknown error in GetTransform()

```

Verse code stops executing (or, OnBegin() suspending function exits)

### Platform(s)

windows

### Island Code

8236-4974-0140

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 2, 2023, 10:54am UTC](https://forums.unrealengine.com/t/calling-teleportto-on-an-empty-mutator-zone-device-causes-verse-to-crash/1319524/2 "2023-10-02T10:54:47Z")

</div>

> [@Vacui](#):
>
> Make sure that you do not assign a value to MyZone in the editor (leave it as None)

Not especially related to `mutator_zone_device`, allow me

- [Safe GetTransform() calls and general null checking.](https://forums.unrealengine.com/t/safe-gettransform-calls-and-general-null-checking/1303922)
- [Critical - GetTransform() error shuts down a lot of verse devices.](https://forums.unrealengine.com/t/critical-gettransform-error-shuts-down-a-lot-of-verse-devices/1240404)
