Skip to content

Commit 1df9dfe

Browse files
committed
fixed FStringAssetReference str()
1 parent 0198052 commit 1df9dfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/UnrealEnginePython/Private/Wrappers/UEPyFStringAssetReference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static PyMethodDef ue_PyFStringAssetReference_methods[] = {
2020
static PyObject *ue_PyFStringAssetReference_str(ue_PyFStringAssetReference *self)
2121
{
2222
return PyUnicode_FromFormat("<unreal_engine.FStringAssetReference {'asset_name': %s}>",
23-
self->fstring_asset_reference.GetAssetName());
23+
TCHAR_TO_UTF8(*self->fstring_asset_reference.GetAssetName()));
2424
}
2525

2626
static PyTypeObject ue_PyFStringAssetReferenceType = {

0 commit comments

Comments
 (0)