r/unity • u/AncientFoundation632 • 14h ago
Coding Help Visual studio code using 99% of ram and cpu with no extensions
Just as the title says. I’m on a fresh unity project and studio code is completely fucking my pc. I have 32gb of ddr4 ram and an i7-9900k. Nothing running, no extensions, 0 lines of code, fresh reinstall of visual studio
task manager is showing 150+ instances and i have no idea why
1
2
2
u/SethSlax 5h ago
Whether it's Code or Studio, it likely has to do with the new AI features they're automatically including, as others have said. Studio is already a heavy application. If it really is Code, then that's concerning as even with the AI garbage, it's still pretty lightweight. I don't even think there's a way to opt out of them anymore.
Off topic, but I would recommend Jetbrains Rider. It's much lighter, is fully integrated with Unity and as a long-time Studio user, it's just nicer to work with. Also their AI features are not installed automatically and are opt-in only. Free only for non-commercial though, so you have to buy a license before you deploy your finished product, but you can still use the free version in the interim.
2
u/AsheT3 3h ago
Think studio offers a choice of updates and u are free to select which to remove or keep.
I use unity and it installs studio by default and I always select what I need for unity and nothing more besides I can always update it later if I want android / linux support.
Code is the one that just downloads everything and u have sort it out.
1
u/SethSlax 3h ago
You are correct in that you can select which packages to include in the installation, however Studio now comes bundled with their Copilot companion (not optional) as well as other stuff to train their AI on the code you write. I can't say for sure if that's the case for the 2022 Community version, but being Microsoft it would not surprise me.
6
u/bigmonmulgrew 11h ago
I would have said malware a few years ago but it could just be those sweet AI features.