If string variable contains escaped characters, such as \", both are counted but only the " is printed, resulting in UI printing past actual string variable
Reproduction example below;
uniform string infooverflow<
string widget_type = "info";
> = "here's some escaped \" characters: \"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\" and some more text";
uniform string stringoverflow="also works with straight string \"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"";
float4 mainImage(VertData v_in) : TARGET {
return image.Sample(textureSampler, v_in.uv);
}
If string variable contains escaped characters, such as \", both are counted but only the " is printed, resulting in UI printing past actual string variable
Reproduction example below;
Looks like this in OBS https://i.imgur.com/Hc7CVqU.png