If the user has a code FString that used "\n", that's interpreted as a line break and is removed. This can cause confusion for users attempting to get the length of the value since it will not match what they expect.
The specific case a user encountered was with a Google RSA key that had this in the string.
With Attached Project:
FROM SCRATCH:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Test) FString TestString = "Test\nTest";
RESULT
Test String reads "Test Test" on two lines.
EXPECTED
Test String reads "Test\nTest".
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92725 in the post.
1 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.24, 4.25 |
Created | May 4, 2020 |
---|---|
Resolved | May 5, 2020 |
Updated | May 5, 2020 |