Hi! After I set value of property, script executes fine, but when I leave play mode editor crashes.
What did I missed?
Here is my code:
int64 intFieldValue = 42;
const UNumericProperty* NumProp = Cast<const UNumericProperty>(Property);
NumProp->SetIntPropertyValue(record, intFieldValue);
The value written succsessfuly (I checked it)
int setValue = NumProp->GetSignedIntPropertyValue(record);
TraceText(FString::FromInt(setValue)); // 42
What am I doing wrong?