This probably the result of circular reference loop
This crash is produced because you declared your device as not optional
@editable
MathDev: math = math{}
It mean, math{} are automatically instanced, when UEFN load the file verse/ even the editable is not set.
if math contain the same declaration for the any name device, it like
math → new instance of any name → new instance of math → new instance of any name → etc → etc → etc… finished by unreal crash.
To avoid this, you can use optional value on device declaration
@editable
MathDev : ?math = false