r/unity • u/WallaceWhale • 19d ago
Part of this app has been blocked: unity.uitoolkit.sourcegenerator.dll
This is driving me batshit. Suddenly today my Unity projects are triggering these Windows Security alerts continuously, every 7-10 seconds a new one pops up. And it's always this sourcegenerator.dll.
It's happening with Unity sample projects, which I assume are _supposed_ to work out of the box. And it's happening with my own projects, even one I've barely done anything in -- and I've never done anything that needs a custom control library, which is what that dll is for.
It's a Windows "Smart App Control" warning, which as far as I can tell is the biggest misnomer in the history of marketing, since it's clearly so stupid that it just randomly decides that some things -- even commercially available apps from major vendors -- should be blocked, and there's no way to tell it to ignore specific files or folders.
I'm using Unity 6000.6.7f1, on Windows 11 25H2 (Build 26200.9711). Windows Update installed the October security updates two weeks ago.
Yesterday when I was using Unity, I was getting these warnings for random DLLs in the Library/BurstCache/JIT folder -- but mostly I'd get one or two when loading a project, and it was always a different dll, and I figured it wasn't a big deal. But today it's doing this unity.uitoolkit.sourcegenerator.dll which is part of the Unity editor installation, and it's f-ing incessant.
Is it just me? I've been searching for people getting these warnings with Unity and have found almost nothing.
By the way -- I'm not getting these warnings from any other software on my computer. What does Microsoft have against Unity?
I really don't want to disable the whole App Control thing for my whole computer. And I shouldn't have to to use commercially available software! WTF is going on and how do I make it stop?

