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.
-
In GeneralProjectSettings.h line 23 change to:
UPROPERTY(config, EditAnywhere, Category = Legal, meta = (MultiLine = "true")) FString CopyrightNotice;
-
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.