Search Issue Tracker

Fixed in 4.3.4

Votes

241

Found in

4.2.2f1

Issue ID

571984

Regression

No

Maverick and Unity performance issues

IMGUI

-

On some Mac's with OS X 10.9 Unity performance is very bad, including stuttering, editor freezes, editor lags and similar.

We found that there seems to be a leak in Maverick's OpenGL ARB VBO implementation.
Our text rendering creates and destroys a lot of VBO's so it is most likely that this happened after around 10 minutes of working with Unity and the inspector or other text heavy components in unity uploading a lot of geometry.

Terrains will be especially affected, but of course just loading a scene / unloading a scene will load / unload VBO's for all the meshes too.

This issue has been fixed with a workaround in 4.3.4. We are working with Apple to get a proper fix done, at which point we will be able to remove the workaround.

Comments (117)

  1. pdwarne

    Dec 10, 2013 17:23

    So FYI the Maverick BETA does not seem to make a difference in the long-term.

  2. Dump truk

    Dec 10, 2013 16:58

    Same issues here, early 2011 mbp. Unity is very nearly unusable!

  3. RyanZimmerman87

    Dec 10, 2013 02:27

    Just noticed that when these monodevelop freeze ups occur the Activity Monitor is reporting:

    MonoDevelop-Unity % CPU = 236.3

    How it possible for the CPU usage for 1 task to go over 100%? What in the heck is going on here very annoying...

  4. RyanZimmerman87

    Dec 10, 2013 00:25

    Spoke too soon again! The "Put hard disks to sleep when possible" setting appeared to fix the problem for about 10-15 minutes but must have been a coincidence. This issue comes and goes... doesn't make sense.

    Disabling that setting seemed to cause my Macbook to start using the fan a ton and it's usually silent... what a joke Apple come on this is unacceptable!

    Or maybe it's Unity's fault who knows. But I'm just not going to comment this is fixed unless everything works fine for like a week straight, every time I think it's working it randomly stops working a day later...

  5. RyanZimmerman87

    Dec 10, 2013 00:08

    OK well I spoke to soon the problem has come back. It seems most people are experiencing the problem in the Editor while the game is running? For me the problem only occurs in Monodevelop.

    But after reading someone's comment here I saw the energy saver settings. The Late 2013 macbook pro with the Iris integrated graphics does not seem to have the "Automatic Graphics Switching" setting.

    However, it does have a "Put hard disks to sleep when possible" setting. I just disabled this a few minutes ago but so far it seems to have fixed my Monodevelop problem. That would make sense I guess if the hard drive is asleep every time I try to build in MonoDevelop. It shouldn't put the hard drive to sleep when you are using a IDE but that's another story.

    Would recommend you guys try this if you having Monodevelop problems! This issue has now gotten 9/10 of my votes.

  6. pdwarne

    Dec 09, 2013 14:58

    Found what appears to be a fix.

    Locate and install (at your own risk) Maverick Beta 10.9.1

    I can confirm this OS update appears to have fixed the problem for me (at least i've been using Unity for about an hour with no more hangs! Will post back later today to confirm if fix still works)

    if you are a dev I suppose you can maybe find the Mavericks beta direct from Apple via the dev center

  7. ExNinja

    Dec 08, 2013 16:43

    [TEMPORARY FIX] We've found that if you're on a Mac laptop and turn off "Automatic Graphics Switching" in the Energy Saver control panel, the stuttering diminishes or goes away. Try it and post your results.

  8. pneill

    Dec 08, 2013 16:01

    Anyone know if there is a chance this will get fixed before the holiday? This is so frustrating. This normally the most productive time of the year for me, but this issue is killing my productivity. It's barely usable. At minimum, I hope that Unity Test team will develop a new test case to cover this issue for future releases. This is a show stopping bug and worthy of hot fix.

  9. RyanZimmerman87

    Dec 06, 2013 06:06

    This bug appears to be fixed in 4.3.1 on Late 2013 Macbook Pro. My biggest problem of Monodevelop being sluggish or having momentary lag spikes seems to be fixed.

    Everything has been smooth sailing so far today after about 5 hours of work. A little early to say it's gone for sure but it seems that the "Deadlock" thing from the patch notes fixed this for me.

    A bit worrying others are still having problems, but from what I see so far it's enough to remove my vote for this issue.

    Unity still freezes for me when I close MonoDevelop before closing Unity in Windows 7 which I suspect is related to DirectX 11 which I recently enabled, unrelated but I guess I'm gonna have to look to see if that's a reported issue yet...

  10. pdwarne

    Dec 05, 2013 16:01

    still getting this in 4.3.1 on an early 2011 MacBook pro. (friend has 2012 macbook pro with no issues). Unplugging the second monitor does appear to help fractionally. Approximately same frequency of freezes but they each seem to last for shorter periods- but remains an unworkable condition to develop in and it has been a week now.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.