ASCII conversion error

This problem has not been fixed until 5.5.
Character 48 should be “0”

Hi, this is not a bug, when you do byte or int to string it converts this number to a string version of that number.
If you want to get ASCII from a number, I don’t know BP way, but in C++ it’s very easy.

Just do such function:

.h
UFUNCTION(BlueprintCallable, BlueprintPure)
FString IntToAscii(int number);

.cpp
FString UPubnubSubsystem::IntToAscii(int number)
{
	return FString::Chr(number);
}

So in BP it looks like this:

And I have output:
image

1 Like

Thanks, I know C++. The blueprint node is fine in UE4. But it is wrong in UE5.