Recibo 2 advertencias en Unity cuando intento hacer una captura de pantalla:
Ignoring depth surface load action as it is memoryless Ignoring depth surface store action as it is memoryless
Encontré este hilo pero hace referencia a Unity Remote que no estoy usando.
Código básico para reproducir la advertencia:
public class test : MonoBehaviour { // Start is called before the first frame update void Start() { StartCoroutine(TakeScreenshotUI()); } public IEnumerator TakeScreenshotUI() { yield return new WaitForEndOfFrame(); var tex = ScreenCapture.CaptureScreenshotAsTexture(); } }
Recibo las mismas advertencias en Unity 2019.2 y 2020.1.2.
¿Puede alguien ayudarme a averiguar cuál es el problema?
ACTUALIZACIÓN: la advertencia aparece solo en MacOS con Metal Graphic API
Unity escupe muchas advertencias. Simplemente los ignoraría si su código funciona.