How to disable automatic {layer_name} token added to file name format in MRG?

Hi Unreal Team,

Recently I am experimenting with the Movie Render Graph and I noticed that the File Name Formatting is complaining if the {layer_name} is missingand automatically adds it.

“Warning: Missing expected {layer_name} format token on node ‘MovieGraphImageSequenceOutputNode_JPG_2’ in branch ‘Characters’. Automatically adding!”

This is an issue for us as we use the {layer_name} in our directory names above the file is placed and this automatic file formatting is ruining our naming standards. Is it possible to disable this feature?

Our desired file name format: {sequence}_{shot}_{component_name}_{version}

Final result will looksomething like this: sc01_sh0010__sRnd_v043

Thanks in advance!

Zoltán

There’s currently no way to prevent this as far as I know. This mechanism is in place to protect users from having one layer’s output overwrite another layer’s output. So the only way around this is to put the

{layer_name} directory within the File Name Format property, and it should get picked up there (ie, {layer_name}/<the rest of the format string>). Which I understand is not always ideal/possible.

That said, this protection mechanism should probably examine the entire output path rather than just the format string, so maybe we should look into that for 5.7. In general, I agree there should be an “opt-out, but only if you know what you’re doing” switch. I’ll flag this to the product manager for consideration.

Hi Shaun,

Thank you very much for your reply. I know why did you implemented this was and it totally makes sense, but for custom pipelines it is really necessary to have full control over the paths. Please write an update here if it is going to be implemented in 5.7.

Thanks again!