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. pneill

    Jan 02, 2014 20:53

    Yeah, what did happen? This issue had nearly 1200 votes last time I checked.

  2. bobthenob

    Jan 01, 2014 14:37

    What happen here this had over a thousand votes?
    Hi thought I would give you an update I downgraded to mountain lion and unity and my iMac is running great shan't be updating till this is fixed.
    With unity and mavericks it's like wadding through treacle with clogs on

  3. XCO

    Dec 30, 2013 15:40

    Can someone please tell me if it is safe to Roll back to a previous OS since maverick might be the issue ?

  4. XCO

    Dec 30, 2013 15:28

    I have a MAC mini and Maverick - and My unity freezes up all the time just for changing the view ?! What should I do ? I have a game that I need to finish ASAP ?! Please help :|

  5. ReeceRobinson

    Dec 30, 2013 02:28

    This issue seemed to improve when I turned off App Nap in the inspector for Unity and MonoDevelop. Not sure if it is the complete fix or not.

  6. Frostbite23

    Dec 28, 2013 07:37

    So anyways (sorry for posting twice) This issue has to be fixed Immediately, i just can't stand it, I have 4GB of memory and when I have unity, safari, and mono develop my memory drops down to only 150MB of memory, if your memory reaches to low as 80MB of memory all Hell will break loose. Anyways to reinforce my 2nd comment guys don't leave so many programs open especially safari witch might be the reason why you guys are having so many freezes

  7. Frostbite23

    Dec 28, 2013 07:17

    Hey Guys, If you are having performance issues with unity, you should get Memory Clean (it will clear unnecessary data stored in the memory allowing more free space) from the app store, it will help save performance and prevent some freezes and shutters in unity, next you don't want to leave a lot of programs running in the background, especially safari witch uses a ridiculous amount of memory even with a lot of tabs on. don't leave so many programs on or else it will eat up all of your memory, all of this tips REALLY helps save performance and really prevents lags and freezes when I'm working with unity. Anyways Im pretty pissed off about this issue, I assume it must be the Operating systems issue with the program. this has to be something unity may have to solve, or else if they can't, then apple has....

  8. HenryBoon

    Dec 28, 2013 05:27

    Hey! I found a solution for my Macmini5,2 (OS X 10.9, Unity 4.3.1f1).
    look like my hardware’s performance can’t handle well OSX “App Nap” technology, but my “Mission Control” is back to lightning speeeeeed!

    Try enable "Prevent App Nap" in both "Unity.app Info" and "MonoDevelop.app.Info”.

    Optional setting in Unity application :
    Unity > Preferences > External Tools > External Script Editor, Browse.. 'your MonoDevelop.app location'.

    Good Luck!

  9. otri

    Dec 24, 2013 01:50

    -- Issue with VSync:
    Unity should be using CADisplayLink
    It's the OSX callback mechanism so Unity apps are driven by the display VSync, rather than trying to render with a CPU timer. This makes redraw timing driven by the display, not the CPU timer.

    CPU timers on or near display refresh rate (60Hz usually) causes a stuttering as the actual render happens out of phase and causes a beat frequency to appear. Without looking at the source code, I can't be sure, but it sure looks like Unity is using the CPU timer approach.

    -- Issue with GC:
    I hear Mono-Develop engine is apparently the old one on Mac, with significant garbage collection performance issues. I would rather take a beta with no GC issues, than a creaky old one, assuming it's stable for most development.

  10. mikelaurence

    Dec 23, 2013 22:21

    This is a monumentally irritating issue. I just upgraded to Mavericks 10.9.2 beta, which unfortunately had no impact on the problem. I suppose I will try the multi-monitor setup that some people report is working.

    ...but let's get this fixed soon, pretty, pretty please.

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.