- Home /
PROFILER: Texture.IntegrateLoadedImmediately over 150ms
Hello!
Currently my menu buttons are working like this:
public GameObject loadScreen;
public AudioClip buttonSound;
public AudioSource audioSource;
public void MainMenu () {
loadScreen.SetActive (true);
audioSource.PlayOneShot (buttonSound);
Application.LoadLevelAsync ("Main Menu");
}
When running the profiler and pressing the buttons, there will be a 50-150ms spike, which is caused by Texture.IntegrateLoadedImmediately. What is this and is there a way to reduce the spike somehow?
Thanks a lot in advance!
Comment
What if there aren't any big images? Could there be any other reason?
Should all textures be a power of 2 square to be eligible for compression?
Your answer
![](https://koobas.hobune.stream/wayback/20220613194748im_/https://answers.unity.com/themes/thub/images/avi.jpg)