Setting Text Parameter Default Value In Blueprint Library

Hello, I made a blueprint library function with some default values for FText parameters. But it seems not working when used in other blueprints. I notices that FText default value works in general blueprint function, not blueprint library.

Is it UE’s bug?

Regards,

Hello nullbus

I was unable to reproduce this issue on our end. The default value appear as expected. I have a few questions for you that will help narrow down what issue it is that you are expecting.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide any other screen shots of settings/blueprints that may be involved with this issue?

Did you type the NSLOCTEXT stuff into that field, or did it appear by itself?

Yes, the issue is reproducable any time. The step is:

  1. Make a Blueprint Function Library or Blueprint Class. It seems to be same issue for Blueprint Class.
  2. Make a function in and put a TEXT parameter with default value in Details panel.
  3. If the parameter not used in blueprint, the default value appears at call node.
  4. If the parameter used in blueprint, the default value disappears at call node.

There is one more bug in blueprint. Removing default variable is not possible.

I typed them manually since there is only simple textbox for default value.

Hello nullbus,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates. Thank you for your time and information.

Link: Unreal Engine Issues and Bug Tracker (UE-42938)

Make it a great day

Thank you!