Summary
when you write verse code involving an integer division on the left of an “or” and a float on the right of the “or” the code builds and crashes uefn.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
-
create new a new verse device called crash_test_device
-
paste the following code:
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
crash_test_device := class(creative_device):
OnBegin<override>()<suspends>:void=
X := 1
Y := (X / 10) or 0.0
- build verse
Expected Result
the code should not build due to the syntax error
Observed Result
the code builds and UEFN crashes, doing so every time the project is loaded.
Platform(s)
windows