Korindian
Topic Author
Posts: 5
Joined: 14 Oct 2015, 01:03

Garbage Collector and Allocations in Unity

29 Oct 2015, 20:38

Hi,

Alithough I bought NoesisGUI quite some time ago, I'm just starting to experiment with 1.2.4 now.

I'm noticing a lot of GC Allocations Per Frame in the Unity profiler even when there are no XAMLs assigned to the NoesisGUIPanel. I've worked pretty hard to get 0 allocations per frame in my game, and it was a little disconcerting to see allocations happening in several different areas in the Profiler in the NoesisGUI Samples.

Here are the areas where I'm seeing allocations:

NoesisGUISystem.Update() 96B
GUI.Repaint (GUIUtility.BeginGUI() and GUIUtility.EndGUI()) 464B
PlayerEndOfFrame (NoesisGUIPanel.RenderAtEndOfFrame())17B
Camera.Render (NoesisGUIPanel.OnPostRender()) 81B

Are there any plans to address (hopefully eliminate) the GC Allocations? Thanks.
 
User avatar
jsantos
Site Admin
Posts: 3906
Joined: 20 Jan 2012, 17:18
Contact:

Re: Garbage Collector and Allocations in Unity

30 Oct 2015, 02:04

Yes, sure. Not only plans, this is important. Please, report in the tracker and I will assign the task for v1.2.6 (1.2.5 is going to be released in the next hours).

Thanks!
 
Korindian
Topic Author
Posts: 5
Joined: 14 Oct 2015, 01:03

Re: Garbage Collector and Allocations in Unity

30 Oct 2015, 18:00

I filed a bug report linking to this thread, thanks.

Who is online

Users browsing this forum: No registered users and 75 guests