Any way to speed up swapping Build Profiles?

Hello. I am now testing on mac as well as windows, but swapping between the two in Build Profiles takes forever. At least it has this first time (it’s still going). Is there a way to preserve the library between swaps without manually copying and renaming it? Or does this happen automatically?

I guess check the profiler in editor mode and see what takes so long

It happens automatically. The first switch takes longer, just like the first (or: clean) build does.

To ensure the project on each platform launches with a specific build platform, add the following as command line arguments to the project in the Hub (use the three-dots menu):

Windows: -buildTarget Win64
Mac: -buildTarget StandaloneOSX

This will remove the “switch profile” time penalty altogether.


The Library folder should not be copied or modified by you. Doing so runs the risk of introducing subtle to not-so-subtle issues that would be hard to attribute to the Library manipulation.


Do you transfer the project with source control? (recommended)

If not:
If you use any form of automated synchronization tools (ie cloud sync): don’t!
Especially not when the synchronization may happen while the editor is open, even by accident. That can easily lead to loss of data, even corrupting the entire project.
Manual copying the project is risky too, and a huge waste of time (ie copy/zip 20 GB vs up/download of the most recent changes ie perhaps 20 MB).

Thanks a lot! Is Linux just -buildTarget Linux?

It should be linux64, all lowercase. See this page under Build Arguments.

You can also use -activeBuildProfile <path> to specify a specific build profile asset.