[Feature Request] Multi-line copyright notices

Heya,
Was looking at this today, and it’s fairly annoying. We use a multiline standard copyright notice similar to this format:

/* Copyright (C) Us - All Rights Reserved
* Some legal stuff here
* and here too
* Date
*/

Unreal doesn’t support multiline copyright notices out of the box, and it seems like it should be a series of trivial changes to support it after looking into it.

  1. In GeneralProjectSettings.h line 23 change to:

    UPROPERTY(config, EditAnywhere, Category = Legal, meta = (MultiLine = "true"))
    FString CopyrightNotice;
    
  2. This part is trickier, but after that change if you add "\ " as line separators, it seems to work fine, but without the "\ " the EngineConfiguration.cs doesn’t seem to pick up the copyright notice as multiline (it seems to use \ as line delimiters for ini files). Without the \ it seems to crash when cooking content because it doesn’t recognize the following lines of the copyright as part of the previous argument in the ini file.

I’m wondering if this is something that could be popped in easily, because multiline copyright notices seem to be the norm, and would allow us to easily support our standard copyright format, but as is it’s kind of hacky having to add \ to the end of every line just so the cooked build doesn’t crash.

It seems like it should be a super simple thing to support (or at least better document). Figured I’d ask.

1 Like

My second 1. used to be a 2., so apologies for the wonky numbering.

Hi mrooney,

Thank you for the report. I see how this flexibility could be useful, so I have entered this as a Feature Request in our database.

Cheers,

TJ

Hi TJ - is there any update on this? 4.10 still does not seem to allow multiline copyright strings.

Hi RHoath,

No news right now. This feature request has been backlogged for the time being. I’ll post back here if it gets fixed or not.

here is the link if somebody else wants to upvote it:

1 Like