Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Performance issues using Mac OS 10.9 (Mavericks) and Unity 4.2.2

Discussion in 'Editor & General Support' started by adslitw, Oct 23, 2013.

  1. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
    Unity guys, you've been good with communication to users previously... please don't throw that away now.
     
  2. shloob

    shloob

    Joined:
    Jun 1, 2013
    Posts:
    10
  3. helios

    helios

    Joined:
    Oct 5, 2009
    Posts:
    308
    Cosigning bump of frustration.
     
  4. propapandagames

    propapandagames

    Joined:
    Jan 1, 2013
    Posts:
    70
    +1 for bump of frustration.

    Unity is completely unusable in its current state on Mac OS X Mavericks.
     
  5. Razieln64

    Razieln64

    Joined:
    May 3, 2008
    Posts:
    129
    Hi,

    just to let you know I've got the same problem. I don't get any major slowdowns but sometimes when the editor is playing, there are performance hiccups. This will happen at any moment. It's not a scene loading issue or some instantiating problem that slows down unity.

    I get half seconds beachballs sometimes too. This is on both my macs running 4.2.2 on 10.9.1.
     
  6. HenryBoon

    HenryBoon

    Joined:
    Dec 27, 2013
    Posts:
    4
    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!
     
  7. propapandagames

    propapandagames

    Joined:
    Jan 1, 2013
    Posts:
    70
    This has been suggested in this thread previously and was shown not to work in the long run.

    I think it's pretty clear that only Unity can fix this, but apparently they're not interested.
     
  8. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    We are still investigating what the issue is. We currently don't know more about what the issue could be than you do. It seems to be OS issue, a couple other 3D apps are hit by this too but it happens very randomly and we haven't been able to pinpoint it. Things like turning off App Nap graphics card switching help for some but then the problem comes back randomly.

    We are working on it figuring this out. For the time being, until some solution is found I'd recommend downgrading the OS if possible.
     
  9. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    We have noticed similar patterns too. So if thats a working setup for you and you can't downgrade this is probably your best shot until a full solution is found.
     
  10. pneill

    pneill

    Joined:
    Jan 21, 2007
    Posts:
    207
    Joachim, thank you so much for replying in the forums. It means a lot to hear you're looking into this. Any idea on when we can expect a patch to address? I ask because downgrading to a lower OS is a petty painful move, but one I think many of us would do if we knew a solution was six months out. But if the solution is just a few weeks away, then I think we many of us can uncomfortably live with the situation using the current work arounds.

    Again, thanks for responding and I think everyone here would welcome dialogue.
     
  11. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265

    I'm guessing you guys have got in touch with Apple… And I'm also guessing Apple are silent… So I guess our best guess is for us all to submit this as a bug report to Apple until they fix it.

    https://bugreport.apple.com

    I submitted this issue a while back (filed as a 'serious hanging issue in Mavericks', because it's not just occurring in Unity) and might help accelerate a fix if others submit it too. Apple will ask you to perform a sysdiagnose dump while the problem is occurring.
     
  12. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    filed.
     
  13. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    Just curious, are nvidia gpus a common factor among those effected?
    geforce 330m
     
    Last edited: Jan 2, 2014
  14. propapandagames

    propapandagames

    Joined:
    Jan 1, 2013
    Posts:
    70
    NVIDIA GeForce GT 330M here.
     
  15. helios

    helios

    Joined:
    Oct 5, 2009
    Posts:
    308
    NVIDIA GeForce GT 330M 256 MB
     
  16. kahong.chan

    kahong.chan

    Joined:
    Nov 22, 2013
    Posts:
    5
    NVIDIA GeForce GT 330M as well ....
     
  17. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    I have found pretty good results making sure automatic graphics switching is off... before dismissing this, it keeps turning itself back on upon rebooting, so check it if you are having hangups.
     
  18. JJC1138

    JJC1138

    Joined:
    Feb 23, 2012
    Posts:
    89
    Apparently not; my GPU is a AMD Radeon HD 6570M 512 MB (Mid 2011 iMac 21.5-inch) and I have the same symptoms described in this thread.
     
  19. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
    Thought we might be onto something but no, mine is an AMD Radeon HD 6770M 512 MB
     
  20. trevex

    trevex

    Joined:
    Apr 10, 2013
    Posts:
    17
    MBP with AMD Radeon HD 6750M 1024 MB

    I don't have complete hang ups (not using multiple monitors though) but if something is selected by the inspector the performance of the game view is horrible, setting maximize on play helps but is unviable if proper debugging is desired.
     
  21. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    This sounds like an issue with App Nap. There should be an update available to fix this. It's something Unity can also fix with a couple of hacks.
     
  22. trevex

    trevex

    Joined:
    Apr 10, 2013
    Posts:
    17
    Turning off App Nap was previously suggested and improves results in some cases but doesn't solve the problem. My guess would be that it's a data synchronisation/threading issue related with changes to the OpenGL context implementation introduced with Mavericks.
     
  23. CiroContns

    CiroContns

    Unity Legend

    Joined:
    Jan 28, 2008
    Posts:
    95
    I had to revert to Mountain Lion in the end... luckily I had a backup, but it makes me angry that I had to resort to this!
     
  24. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Perhaps the memory compression stuff is also at fault? I cannot upgrade to mavericks while this exists.
     
  25. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
  26. helios

    helios

    Joined:
    Oct 5, 2009
    Posts:
    308
  27. kahong.chan

    kahong.chan

    Joined:
    Nov 22, 2013
    Posts:
    5
  28. Musashi

    Musashi

    Joined:
    Apr 21, 2006
    Posts:
    5
    Don't know if it helps, but I just played around with Unity for a while without starting MonoDevelop and I didn't had any freezes so far. Still there are some framerate issues in the game view (less stutter, but could be just my perception), but at least my mac doesn't lock up anymore...
     
  29. trevex

    trevex

    Joined:
    Apr 10, 2013
    Posts:
    17
  30. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    Is anyone else noticing that their graphics cards do not support the open gl context that apple specifies should be compatible with their systems?

    http://support.apple.com/kb/HT5942
    according to this document I should have 3.1 support, but in mavericks OpenGL extensions viewers shows that 3.0 and 3.1 are not supported for me.

    330m here.

    did anyone check their OpenGL support before upgrading to mavericks?
     
  31. trevex

    trevex

    Joined:
    Apr 10, 2013
    Posts:
    17
  32. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    yes, you're right previous post was in error, had to update OpenGL extension viewer through app store but upon starting new version I get an error:

    failed to initialize compatible renderer
    CGLGetCurrentContext() failed.
     
  33. SeanPDawson

    SeanPDawson

    Joined:
    Jul 25, 2013
    Posts:
    2
    Last edited: Jan 13, 2014
  34. helios

    helios

    Joined:
    Oct 5, 2009
    Posts:
    308
    I actually spoke to soon.. I thought at first it resolved the system wide freezes, but it's definitely as bad as ever :/
     
  35. holyjewsus

    holyjewsus

    Joined:
    Mar 7, 2011
    Posts:
    624
    I went on a system wide uninstall witch hunt, and I noticed some other strange behavior:

    does anyone else have graphical stuttering even when unity is not running in the mission control animations, notification center switching, and spaces switching animations?

    I somehow resolved these by uninstalling many applications, trashing window server preferences, and removing lots of plugins. I'm unsure if resolving these stuttering issues has fixed my unity issues as I have not been able to work in unity for long periods, but it seems to have fixed it for short times.

    curious on others performance with mavericks outside of unity...
     
  36. Crazy Robot

    Crazy Robot

    Joined:
    Apr 18, 2009
    Posts:
    921
    So, no fix for this issue in 4.3.3?
     
  37. pneill

    pneill

    Joined:
    Jan 21, 2007
    Posts:
    207
    Nope. Unity seems to think it's an Apple problem. But I just fear this could end up being a case of of Unity pointing at Apple and then Apple turns back and points at Unity, with us developers stuck in the middle. I hope Unity is right. Only real solution is to revert to older OS. The is very painful thing for me to do, but I might do it soon.
     
  38. JJC1138

    JJC1138

    Joined:
    Feb 23, 2012
    Posts:
    89
  39. pneill

    pneill

    Joined:
    Jan 21, 2007
    Posts:
    207
  40. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
  41. amanset

    amanset

    Joined:
    Oct 19, 2013
    Posts:
    11
    There's been an update in the issue tracker:

    http://issuetracker.unity3d.com/issues/maverick-and-unity-performance-issues

     
  42. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
  43. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
    Anyone tested the bug under the new 10.9.2 build that Apple released a couple days ago?
     
  44. Khalanar_Dev

    Khalanar_Dev

    Joined:
    Mar 25, 2013
    Posts:
    34
    10.9.1 here and according to app store no updates available. BTW problem unsolved in 10.9.1... :(
     
  45. amanset

    amanset

    Joined:
    Oct 19, 2013
    Posts:
    11
    I think he meant the new preview build of 10.9.2 that developers can install.
     
  46. Skribble

    Skribble

    Joined:
    Oct 29, 2012
    Posts:
    16
    i've been having this performance issues, i have a macbook pro with mavericks and its so frustrating trying to work with unity with this problem.

    i manage to download that 10.9.2 patch.. almost 600mb download, install it and.. its not fixed at all..

    unity works little better now, doesnt seems to freeze quite often but the problem remains, is not fixed at all.

    i dont want to wipe out my computer and go back to mountain lion.. actually im thiking on putting a virtual machine with mountain lion on my mavericks system and try to run Unity on that virtual machine.. what you guys think?
     
  47. ashwinFEC

    ashwinFEC

    Joined:
    May 19, 2013
    Posts:
    48
    If there is a workaround Unity should release it and not wait for Apple to fix it on their side, even if it is Apple's fault. Apple is notoriously slow when it comes to fixing bugs and releasing patches.
     
  48. propapandagames

    propapandagames

    Joined:
    Jan 1, 2013
    Posts:
    70
    That doesn't sound like a viable workaround to me. You'd just be trading one form of slowness for another.

    I don't really care whether it's Apple's or Unity's bug in the end: Of the dozen or so 2D and 3D graphics applications I use in daily production, Unity is the only one that exhibits this defect.

    So as far as I'm concerned, it's up to Unity to fix it.
     
  49. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    We have found the issue in mavericks. It's a Apple OpenGL driver issue when uploading VBO's.
    Our text rendering does lots of it and on mavericks that leads to freezes. We have a workaround for the driver bug.
    We are soon going to release a 4.3.4 that addresses the issue.
     
  50. Essential

    Essential

    Joined:
    Sep 8, 2011
    Posts:
    265
    Heavens to Betsy! :)