I updated (regretfully) my macOS to Ventura a couple of days ago and since that, Unity Editor lags too much. But this is not happening always. Sometimes changing an opened scene solves it for a while. Closing and opening Unity again always solves it. But this is an annoying bug. It doesn’t matter if I am using Unity on external monitor or built-in display, or turbo boost on/off, or work while on charging or not. I am not sure what triggers it (BUT maybe, changing uxml file or uss file could be the reason because I am usually using UI Toolkit these days). I check the profiler (attaching screenshots) and also the activity monitor (I think the CPU usage is doubled while lagging). By the way, there no lag when I am in Play Mode =/
Is anyone else having the same or similar problem?
Seeing the exact same problem on Macbook pro 2021, Apple M1 Pro, MacOS Ventura.
Cpu usage is pretty high when idling. Unity UI is barely responding when it happens.
Restarting Unity fixes the issue, but then it reoccurs very often.
Having the same issue on M1 Max 64gb with MacOS Ventura 13.0. Lagging too much and affecting my workflow drastically. CPU is being throttled by UnityEditor.
Having the exact same issue, it is super annoying and editor gets unusable after like 10 minutes until you restart it. Then again the same thing over and over
I personally have not had this issue on my M1 Pro but this thread has been flagged to the correct people. I do encourage people to submit bug reports in general we’d rather have many duplicate bug reports than none of an issue that is seriously affecting developers flow.
And I looked at the Editor.log, this problem might be related to Asset Garbage Collect (maybe something is changed in Venture about the memory?). This is where the lag starts (Request Asset Garbage Collect message logs constantly):
Unloading 28 Unused Serialized files (Serialized files now loaded: 0)
Loaded scene 'Temp/__Backupscenes/0.backup'
Deserialize: 36.996 ms
Integration: 313.983 ms
Integration of assets: 0.102 ms
Thread Wait Time: -0.047 ms
Total Operation Time: 351.034 ms
Unloading 313 unused Assets / (111.8 KB). Loaded Objects now: 19351.
Memory consumption went from Unknown to Unknown.
Total: 194.533672 ms (FindLiveObjects: 2.000461 ms CreateObjectMapping: 1.645294 ms MarkObjects: 190.680803 ms DeleteObjects: 0.204552 ms)
Request Asset Garbage Collect because used heap size increased from Unknown to Unknown, exceeding the threshold of 4294967295.98 GB.
Unloading 29 Unused Serialized files (Serialized files now loaded: 0)
Unloading 313 unused Assets / (Unknown). Loaded Objects now: 19418.
Memory consumption went from Unknown to Unknown.
Total: 192.050848 ms (FindLiveObjects: 1.996828 ms CreateObjectMapping: 1.527987 ms MarkObjects: 188.303244 ms DeleteObjects: 0.221791 ms)
Request Asset Garbage Collect because used heap size increased from Unknown to Unknown, exceeding the threshold of 4294967295.98 GB.
Unloading 15 Unused Serialized files (Serialized files now loaded: 0)
Unloading 15 unused Assets / (0.9 MB). Loaded Objects now: 19418.
Memory consumption went from Unknown to Unknown.
Total: 191.931415 ms (FindLiveObjects: 1.986690 ms CreateObjectMapping: 1.474565 ms MarkObjects: 188.407655 ms DeleteObjects: 0.061484 ms)
I have the same problem on my Mac Studio M1 Max with Ventura. Editor UI, Camera Pan in Editor and Play Mode are laggy. I’ve tried Unity 2021 and 2022, and everytime performance is bad. I think problem is with Apple Silicon builds, because when I opened Intel Build - the Editor performance was much better than native Silicon.