Update: it seems Unity’s fault, but the issue persists even with 2021.1.2f1 (it does seem a bit better with the new version, but I’m still not sure about it – and also upgrading might not be a viable option mid-production).
I tried only invoking the code in GraphEditor.cs, until Editor.Node.cs -> DrawNodeWindow(), and if I comment GuiLayout.Window the leak stops happening.
It seems that the issue persists with GUI.Window as well.
Sadly it’s marked as “Won’t Fix”, so I don’t know if an actual solution would be writing a different method to display floatingĀ and resizeable windows.
Login
Register
By registering on this website you agree to our Privacy Policy.