No problem 🙂
Unfortunately, the OnGUI methods only by itself is causing allocations even if there is nothing going on in that method. That means that just an empty OnGUI() method in Unity, is causing allocations.
The only real alternative around this, is to not use OnGUI at all, but rather re-implement the functionality of the DirectorGUI, with the new UGUI system, or using the GL API. This is something I plan to do in the future, but I can take a look at this sooner if it impose a problem for you.
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.