View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001596 | NoesisGUI | C# SDK | public | 2019-12-06 17:18 | 2021-07-27 20:05 |
| Reporter | stonstad | Assigned To | jsantos | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.2.5 | ||||
| Target Version | 3.1 | Fixed in Version | 3.1.0 | ||
| Summary | 0001596: Unity 2019.2.x OnGUI GC Allocation in NoesisView.OnGUI | ||||
| Description | The Unity MonoBehavior function OnGUI has a 0.7 kb per-frame gc allocation. Unity does not intend to fix this, as OnGUI is deprecated, per this thread: https://forum.unity.com/threads/gc-coll ... ui.642229/ NoesisView.cs uses OnGUI as follows: I can confirm the following:
To eliminate this allocation, is there a different location Noesis logic may be moved to? Allocation screenshot: https://i.imgur.com/AAfTwRS.png | ||||
| Platform | Any | ||||
|
It seems I found a way to disable GC Allocs in our View. Just by adding the following function, all spikes disappear.
I feel silly because this function was removed in 0001433. This time I added a better comment to avoid this mistake again. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-12-06 17:18 | stonstad | New Issue | |
| 2019-12-12 14:36 | stonstad | Summary | Unity 2019.2.x OnGUI Memory Leak NoesisView.OnGUI => Unity 2019.2.x OnGUI GC Allocation in NoesisView.OnGUI |
| 2021-06-23 01:34 | jsantos | Assigned To | => jsantos |
| 2021-06-23 01:34 | jsantos | Status | new => assigned |
| 2021-06-23 01:34 | jsantos | Target Version | => 3.1 |
| 2021-06-23 02:23 | jsantos | Note Added: 0007312 | |
| 2021-06-23 02:23 | jsantos | Note Edited: 0007312 | |
| 2021-06-23 02:24 | jsantos | Note Edited: 0007312 | |
| 2021-06-23 02:24 | jsantos | Note Edited: 0007312 | |
| 2021-06-23 02:24 | jsantos | Note Edited: 0007312 | |
| 2021-06-23 02:26 | jsantos | Status | assigned => resolved |
| 2021-06-23 02:26 | jsantos | Resolution | open => fixed |
| 2021-06-23 02:26 | jsantos | Fixed in Version | => 3.1 |
| 2021-06-23 17:27 | jsantos | Relationship added | has duplicate 0001682 |
| 2021-07-27 20:05 | jsantos | Fixed in Version | 3.1 => 3.1.0 |