Set SetFloatingPointPropertyValue Break Editor!

Hi, I Trying set Editor Variable, When I Try my code, not happiness and editor when stop level, break…

My COde is correct?

void UIllusionToolkit::SetFloats(UObject* Object, FString PropertyName, float PropertyValue){
	
	UFloatProperty* xProperty = FindField<UFloatProperty>(Object->GetClass(), *PropertyName);
	
	if (xProperty != NULL){
		xProperty->SetFloatingPointPropertyValue(Object, PropertyValue);
	}

}