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

    Dec 19, 2013 18:56

    In Activity Monitor, doing anything in Unity (edit and play mode) causes CPU spikes with WindowServer. Maximize On Play seems to require less resources from WindowServer and doesn't experience the spikes.

  2. shloob

    Dec 18, 2013 15:55

    For me the issue happens occasionally when I try to open monodevelop from within unity, but usually when I am trying to debug. I agree this should be a P1 bug since the problem has slowed me down significantly, not to mention that I have to redo any work that did not get saved before the crash. I have taken to saving every two minutes.

  3. RyanZimmerman87

    Dec 17, 2013 09:05

    So after installing OS X Maverick 10.9.1 things have not gotten any better with this problem.

    Am I the only one who is getting the lag in MonoDevelop? It seems everyone else just talks about the Editor which never really gives me problems...

    For me the main problem is MonoDevelop freezes up all the time. It's inconsistent though sometimes I go hours with nothing and sometimes it happens constantly.

    Is that a separate issue or is that part of your guys problem as well. This is happening to me even when the game isn't running it's purely a MonoDevelop thing :(

    Here's a screenshot of the Activity Monitor when this occurs:
    http://tinypic.com/view.php?pic=rc4qrn&s=5#.UrAR32RDv0g

    As you can see the CPU usage is over 100% for MonoDevelop how is that even possible? Does nobody else have a MonoDevelop project designed for multiple platforms? Right now my game runs for PC/MAC/Android/iOS wonder if this could have anything to do with my Monodevelop problems? On PC it works fine though...

    So disruptive to my work! Please fix this!

  4. bobthenob

    Dec 16, 2013 08:21

    hi i disabled displays have separate spaces in mission control and haven't had any system freezes .
    defiantly runs better .
    https://www.dropbox.com/s/qj69h1o638jtqub/Screenshot%202013-12-16%2008.18.52.png
    still chugging if game object is selected,

  5. bobthenob

    Dec 14, 2013 09:15

    If you run the same project on boot camp it runs fine and smooth.In Mac OS select a moving object it gets as stutters as he'll imac 2010 .

  6. Snupiman

    Dec 12, 2013 10:12

    Hi Unity PPL so we have a definite solution for this!

    Have been testing it for a week and seems that if you follow this instruction your computer will work just fine.

    This solution will only work for people with 2 Screens.

    Prior to this I have disabled second panel and updated Mavericks with latest updates. Also I'm using Unity 4.2.2f1

    - from all open windows no matter what software you have open, place everything on second screen and if possible maximise the windows. Make sure there is no window overlaying or extending to first screen.

    - open Unity project on first screen and make sure there is only Unity opened here. In my case I work in Unity on iMac (primary screen) and everything else is on second screen. Maximise the window.

    - In Game view check Maximize on Play

    - One last thing

    MAKE SURE YOU DO NOT OPEN ANY WINDOW (I MEAN ANYTHING THAT IS NOT UNITY) THAT WILL DISPLAY ON TOP OF UNITY!!! USE ONLY UNITY IN THIS SCREEN OTHERWISE YOU RISKING FREEZING!!!

    AND OFF YOU GO!

    Prior to this I have been going mad and tried everything in this thread that has been mentioned but this is for me the only way that Unity will behave normally. It's a bit of a work around but at least it works. We have two same machines in the studio and both work with no lag and freezes with this solution.

  7. SmuttleRalph

    Dec 11, 2013 09:06

    early 2009 iMac here. Unity Team, please provide a fix asap!

  8. RyanZimmerman87

    Dec 11, 2013 01:30

    Yeah, this should absolutely be a priority 1 bug. Do they not have any macbook's to test this problem with?

    My work rate has dropped at least 50% while using my Late 2013 macbook pro. This is the brand new model, the CPU should be fast enough to keep monodevelop going!

    Why in the world am I getting 10+ second lag spikes when the game isn't even playing. It's ONLY Monodevelop c# coding and I'm constantly getting the little spinning colored circle for loading. This happens constantly even without building the project.

    It can occur repeatedly every few seconds with each freeze up lasting between 5-20 seconds! It makes using Unity on a Macbook almost impossible! Really glad I'm almost ready with the first iOS build so I can switch back to PC until this gets sorted out!

    I also get quite a bit more lag in editor mode compared to what I would expect with this PC's specs. For example simple things like GUI text may display when I start scenes in the Editor even when I have conditions setting their display to false in Start().

    I feel like I'm beating a dead horse with so many repeated posts. But I didn't even notice that this was priority 2. At least it's severity 1 but it should be priority 1! I've never had an issue anywhere close to this disruptive to my work flow.

    It really seems like this whole thing might be caused by the new MonoDevlop to me. I've been having problems with it even on PC with Unity freezing on Quit if MonoDevelop is open, this is 100% repro rate! So I have to close Unity first then close MonoDevelop or my Windows Unity freezes!

  9. iKonrad

    Dec 11, 2013 01:18

    Yeah I second that the performance served by Unity on Mavericks is not acceptable. It is just impossible to use it - keeps freezing all the time, especially when in Play mode.
    Unity team, do something about it immediately.

  10. pneill

    Dec 10, 2013 22:18

    BTW, has anyone noticed this is listed as a P2 bug? I find this hard to believe. Unity, please convert this to a P1.

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.