@JulianRice Sorry for the delay. This has been a long standing issue with Unity.
Solutions seem to be using Accelerator or Cache Server, depending on your Unity (asset pipeline) version:
https://docs.unity3d.com/Manual/UnityAccelerator.html
https://docs.unity3d.com/2022.1/Documentation/Manual/CacheServer.html
It's somewhat puzzling that they have never provided a simple Editor Preferences setting like "use separate directories" to write to a separate Library
directory for each platform. This is something which many users have been using in the past, effectively switching platforms via a scripts that changes the active platform in a text file and sets the symlink from Library
to the respective Library_platform
directory.