Search Issue Tracker

Fixed in Unity 4.3.4

Votes

241

Found in

4.2.2f1

Issue ID

571984

Regression

No

Maverick and Unity performance issues

IMGUI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

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. 8f879d69219f0f880b8a1deda5232f02?d=mm

    Valdemars Magone

    Jan 21, 2014 09:41

    After the latest 4.3.3f1 update on Mavericks freezing is back and even worse than before. Mac freezes for 2-3 minutes. Please fix this! Freezing occurs mostly when I select objects in scene or change active windows of editor.

  2. Ef0c9fdec5e3f83a768ac7a505cb0dce?d=mm

    fingersbleeding

    Jan 20, 2014 21:39

    @QA FOR LIFE, Thomas Petersen,

    Is the OpenGL ARB VBO leak the cause of the Unity seizures issue and the app switching issues? Is this a blanket cause to the many problems described across this thread?

    Most of the iOS developers working with Unity cannot "not use" Mavericks. It's required for publishing against the iOS 7 SDK. An unfortunate and stressful position to be in.

  3. 4992a119a68a33a3ab2611b73da80268?d=mm

    Bradamante

    Jan 20, 2014 17:37

    Most of the time I can work fine with Unity using Maverick, but I do experience this: http://forum.unity3d.com/threads/217648-Using-Terrain-Engine-Unity-becomes-slow-drags-system-down

  4. 22282f70b0d44c824ac7208fe3450432?d=mm

    HenryBoon

    Jan 20, 2014 13:46

    Yes! OS X 10.9.2beta is notice about OpenGL driver! But before the final version and... latest Mac Pro ;) release, try this workaround prevent freezing on app switching:

    Add a new tap("Profiler" or "Animation") to your "Main Editor Windows".(don't go full screen but you can select "Maximize on Play" if you want)

    Before "PLAY/STOP" your game - Switch/change "Game" or "Scene" tap to other tap.(not closing tap)

    Note : only "Main Editor Windows" will automatic switching tap while hitting play/stop.

    Macmini5,2 (Mid 2011) Radeon HD 6630 OpenGL 4.1, OpenCL 1.2 (OS X 10.9, Unity 4.3.3).
    Unity "quality setting" : > beautiful(shadow is on).

  5. 73d0dfc110482e49eee4c654f970c2a7?d=mm

    ilpresidente

    Jan 19, 2014 17:02

    Thank you for following up RDM.BOIS. I really appreciate it. Yeah, sounds like my issue is a little different... I've got the periodic (every 3 to 5 minutes) editor lock-up during general use (doesn't really matter what I am doing in Unity), and lock up on app switching... I've tried disabling app nap, hiding the game tab etc. but nothing solves it. Hoping for a fix soon. Completely unusable.

  6. B186b38dc1e8796ee3b997fa6789e3c8?d=mm

    rdm.bois

    Jan 18, 2014 21:04

    ILPRESIDENTE, from our developer: "You can tell him that, yes, all I did was close the game tab before publishing." It sounds like the problem you're having may be more complex than this, but I hope it helps.

  7. B186b38dc1e8796ee3b997fa6789e3c8?d=mm

    rdm.bois

    Jan 18, 2014 18:57

    IlPRESIDENTE. I will ask my developer for more insight and post back.
    RDM.BOIS.

  8. 73d0dfc110482e49eee4c654f970c2a7?d=mm

    ilpresidente

    Jan 17, 2014 16:22

    @ RDM.BOIS

    Can you clarify the workaround, I'm not sure I understand? Are you simply hiding the "Game" tab before hitting play/pause? Is this stabilizing the editor's periodic freezing, and/or freeze on app switching, or just a fix for freeze on game playback? I've tried keeping the game tab closed/out of focus and its not helping. Sorry, confused and desperate over here.

  9. B186b38dc1e8796ee3b997fa6789e3c8?d=mm

    rdm.bois

    Jan 17, 2014 15:57

    We have tried HENRYBOON's suggestion (Post: Jan 16, 2014 16:10) on this problem and it has made a substantial difference. Where before Unity was crashing within the browser (Chrome and Safari) within seconds of start, it is now much more stable ... running our application for > 5 hrs before crashing.

    We're not yet out of the woods in that when first starting the app it has still crashed within seconds, but it then seems to stabilize - three times a charm. Thank you Henry.

    I hope Unity and Apple work aggressively to resolve this issue though. We and our members have to be able to rely on the application - the Mac market is an important one for us.

  10. B186b38dc1e8796ee3b997fa6789e3c8?d=mm

    rdm.bois

    Jan 16, 2014 16:37

    Thank you, HENRYBOON. I'll pass it on to our development team and report back.

All about bugs

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