Hey folks. Our UI has seen some major spikes since upgrading to 5.2 from two functions - MaskableGraphic.OnEnable() and MaskableGraphic.OnDisable(), both coming in at a whopping 51ms. There is also a 2.1 MB allocation in OnEnable(). This is occuring through GameObject.SetActive(). This did not occur in 5.1.
Is the intended design paradigm here to just make UI elements invisible, rather than disabling the GameObject? Are we in the wrong here, or is this an actual issue?
Is the intended design paradigm here to just make UI elements invisible, rather than disabling the GameObject? Are we in the wrong here, or is this an actual issue?