During work with scripts on MacOS Visual Studio, mdworker_shared service is killing my CPU
Every time I save a script file, Unity recompiles the project. This results in my OS using a lot of mdworker_shared processes (the Mac file indexing service) to reindex some Unity-related file changes, which results in 100% CPU usage on all 4 cores (8 virutal cores) for about 2 minutes.
So basically during scripts development, my OS is constantly trying to take 100% of all cores. This makes Visual Studio and Unity Editor very sluggish.
Is this normal when working with Unity on Mac?
Comment
Answer by nagl23 · Jan 06, 2020 at 08:31 PM
I've switched my editor to VS Code and the problem disappeared.
So it's most likely some issue related to Visual Studio Mac.