[Critical] Verse SpatialMath methods cause ErrRuntime_InfiniteLoop and crash servers

Summary

After 36.00 update my map started crashing sometimes with error logs pointing to Verse native functions, for ex vector3.Length() :

Verse unrecoverable error: ErrRuntime_InfiniteLoop: The runtime terminated prematurely because Verse code was running in an infinite loop. (Computation timed out - see log for stack trace) Truncated callstack follows: SpatialMath:(/Verse.org/SpatialMath:)operator'.Length'(:(/Verse.org/SpatialMath:)vector3,:tuple()) (Unknown source) (Source: Unknown(0,0, 0,0)) (/Verse.org/SpatialMath:)operator'.MakeUnitVector'(:(/Verse.org/SpatialMath:)vector3,:tuple()) (Source: SpatialMath/Vector3.native.verse(99,16, 100,17)) (/beloud-creative@fortnite.com/Pekao?nk/VPets:)GetPetPosAndRotation(:(/Verse.org/SpatialMath:)transform,:(/Verse.org/SpatialMath:)transform) (Source: VPets/pet_math.verse(37,119, 38,120)) InitPlayerAsync(:(/Verse.org/Simulation:)agent,:(/Verse.org/Verse:)event(tuple())) (Source: VPets/pets.verse(73,58, 74,59))

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Please check error logs of map public code: 8754-6289-4338

Expected Result

No crashes when using SpatialMath functions

Observed Result

Rare crashes when using SpatialMath functions

Platform(s)

PC and probably others

Island Code

8754-6289-4338