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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Material does not update when setting an enum keyword using EnableKeyword
- AddComponentMenu.componentOrder has no effect on the "Add Component" menu in the Inspector window
- Distant objects become visibly illuminated when looking through the volumetric fog with SSGI enabled
- WebGL build crashes when opening a ZipArchive entry and "Code Optimization" is not set to the default "Shorter Build Time"
- Severe visual artifacts happen in the Editor when using GrassFlow package assets with Compute Shader
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).
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.
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.
rdm.bois
Jan 18, 2014 18:57
IlPRESIDENTE. I will ask my developer for more insight and post back.
RDM.BOIS.
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.
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.
rdm.bois
Jan 16, 2014 16:37
Thank you, HENRYBOON. I'll pass it on to our development team and report back.
HenryBoon
Jan 16, 2014 16:10
@RDM.BOIS
Before hit play/stop game, switch "Game" Tap to "Profiler", "Animation" or other tap but "Scene".
better? ;)
rdm.bois
Jan 15, 2014 21:17
A workaround for this problem was mentioned by Thomas Petersen, Unity QA Director. Does anyone know were to find this workaround and the reasons its not a good solution?
This problem is limiting our user base. I hope it get's resolved quickly.
QA-for-life
Jan 15, 2014 08:27
We have identified this as a leak in Maverick's OpenGL ARB VBO implementation which is causing these issues. A build with a workaround has proven to work, but it is not the best solution. We have notified Apple about the problem.
What exactly will happen has not yet been decided, so until there is a solution to the problem, it is best to not run on Mavericks.
Regards,
Thomas Petersen
QA Director
Unity Technologies