The build log that is shown in cloud build (and also sent via email) contains many duplicated lines.
Is this a known issue, or am i the only one facing it ?
For example, this line appeared 8 times in the email i just received:
The reason these types of warnings will show up multiple times is because Unity is launched multiple times during the build process for things like switching to the target platform, running unit tests, building the player, etc. Since these warnings are generated automatically by Unity’s compile process we just send them to the log and subsequently try to point them out as warnings in the compact log.
Having said that, it’s definitely annoying (and potentially confusing) to have those show up multiple times in the logs. Log filtering and highlighting is something that is on our radar to improve all around so if you have any other suggestions about improvements around what should or should not show up there we’re all ears.
The only improvement i can think of is to show me these warnings/errors just once, as it should be.
Launching Unity multiple times is an implementation details for me (i didn’t even know that’s how it worked until now).
Is this preferable vs. doing all the work in a single launch of the editor?
Also, “internal” tasks that are implementation detail of your system (like some of the tasks you mention, such as switching platforms) should perhaps not be included in the final log.