Title explains everything but let me dive in deeper. If you have an output or input pin in a macro or a function, no matter what you do, you can’t define a default value for them.
There is literally no way to define its default value. And everytime you put that function or macro into viewport, the value is empty. And ofcourse you get errors for that.
That’s all. I just hope the fix is easy. I got tons of enumerated macros for beginners as I am working on a template, and setting default value manually is rather… painful.
I ran a couple of tests and I am not sure that I understand the issue that you are reporting. I was able to set the default value as shown in the picture below. If this was not the case could you elaborate further on your issue and how it is at an inverse to what you are expecting.
You can set the default value after creating the function or macro, but you can not set it inside the function itself, to get the default value you want all the time.
Get inside the macro or function, go to their Inputs/Outputs segment as I show on the imagine and try to type something in the Default Value of the enumeration. You will see that no matter how correct you type it, value does not get accepted.
After further investigation I have submitted a request ( UE-33245) that has been sent to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.
You are correct. This issue has not yet been resolved. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.