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
LogVerse: Error: VerseRuntimeErrors: Unknown error in GetTransform()
Steps to Reproduce
- Load private island 8236-4974-0140
- Start the game (launch off the starting platform)
- Play for approximately 10 seconds
βorβ
- Create a custom verse device with the following code:
@editable MyZone : mutator_zone_device := mutator_zone_device{}
MoveMyZone():void=
if:
MyZone.TeleportTo[vector3{ X:=0.0, Y:=0.0, Z:=0.0}, rotation{}]
- 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:
LogVerse: Error: VerseRuntimeErrors: Unknown error in GetTransform()
Verse code stops executing (or, OnBegin() suspending function exits)
Platform(s)
windows
Island Code
8236-4974-0140