diff --git a/Source/UnrealEnginePython/Private/UEPyModule.cpp b/Source/UnrealEnginePython/Private/UEPyModule.cpp index c037310a0..97cdc5efa 100644 --- a/Source/UnrealEnginePython/Private/UEPyModule.cpp +++ b/Source/UnrealEnginePython/Private/UEPyModule.cpp @@ -1318,8 +1318,8 @@ static int ue_PyUObject_setattro(ue_PyUObject *self, PyObject *attr_name, PyObje Instance->PreEditChange(u_property); if (ue_py_convert_pyobject(value, u_property, (uint8*)Instance, 0)) { - FPropertyChangedEvent PropertyEvent(u_property, EPropertyChangeType::ValueSet); - Instance->PostEditChangeProperty(PropertyEvent); + FPropertyChangedEvent InstancePropertyEvent(u_property, EPropertyChangeType::ValueSet); + Instance->PostEditChangeProperty(InstancePropertyEvent); } else { diff --git a/Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp b/Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp index 088f057b6..43ef8aeca 100644 --- a/Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp +++ b/Source/UnrealEnginePython/Private/UObject/UEPyObject.cpp @@ -1039,7 +1039,7 @@ PyObject *py_ue_broadcast(ue_PyUObject *self, PyObject *args) #if ENGINE_MINOR_VERSION >= 17 prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr(parms), PPF_None, NULL); #else - prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr(buffer), PPF_Localized, NULL); + prop->ImportText(*default_key_value, prop->ContainerPtrToValuePtr(parms), PPF_Localized, NULL); #endif } #endif