View Issue Details

IDProjectCategoryView StatusLast Update
0001682NoesisGUIUnity3Dpublic2021-04-13 11:06
ReporterstonstadAssigned Tojsantos 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version3.0 
Target Version3.1Fixed in Version 
Summary0001682: OnGUI GC Allocations
DescriptionUsing OnGUI in NoesisView.cs causes per-frame GC allocations. Noesis should not be using OnGUI external to the Unity Editor because it is not designed for production use.

See https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1867&p=10600&hilit=ongui#p10600

According to Unity:

"The Immediate Mode GUI system is commonly used for:

Creating in-game debugging displays and tools.
Creating custom inspectors
for script components.
Creating new editor windows and tools to extend Unity itself.

The IMGUI system is not generally intended to be used for normal in-game user interfaces that players might use and interact with."
TagsNo tags attached.
PlatformAny

Relationships

related to 0001828 assignedjsantos Implement support for the new Unity Input System 
related to 0001827 assignedjsantos Noesis should be compatible with the Unity Package Manager 

Activities

stonstad

stonstad

2020-09-22 19:36

reporter   ~0006641

Hey Jesús. Just checking in on the status of this issue. I know it seems low priority, but it would be really awesome to have no per-frame allocations in Noesis. That's such a big deal for console devs. Thanks!
jsantos

jsantos

2020-09-24 16:23

manager   ~0006650

We have plans to be compatible with the new Unity Input System in 3.0.X but for now I cannot give a better estimation
stonstad

stonstad

2021-04-12 22:18

reporter   ~0007144

Any updates around this capability to eliminate OnGUI allocations?

Thanks,
Shaun
jsantos

jsantos

2021-04-13 11:06

manager   ~0007145

Last edited: 2021-04-13 11:06

View 2 revisions

Hi Shaun,

This is coming with the new Unity Package (we are deprecating .unitypackage in favor of the new system). Last time I checked the new Input System there were issues and we couldn't have all current features. That's the reason we are going with this as "optional".

Planned for 3.1, before GDC 21.

Issue History

Date Modified Username Field Change
2020-05-08 16:21 stonstad New Issue
2020-05-15 12:06 jsantos Assigned To => jsantos
2020-05-15 12:06 jsantos Status new => assigned
2020-05-15 12:06 jsantos Target Version => 3.0
2020-09-22 19:36 stonstad Note Added: 0006641
2020-09-24 16:23 jsantos Note Added: 0006650
2020-11-03 12:54 jsantos Relationship added related to 0001828
2021-04-12 22:18 stonstad Note Added: 0007144
2021-04-13 11:03 jsantos Relationship added related to 0001827
2021-04-13 11:03 jsantos Target Version 3.0 => 3.1
2021-04-13 11:06 jsantos Note Added: 0007145
2021-04-13 11:06 jsantos Note Edited: 0007145 View Revisions