Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

722
Visualizações
Unity Warning: Ignoring depth surface load action as it is memoryless

I am getting 2 warnings in Unity when trying to make screenshot:

Ignoring depth surface load action as it is memoryless
Ignoring depth surface store action as it is memoryless

I have found this thread but it is referencing to Unity Remote which I am not using.

Basic code to reproduce the warning:

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();
  }
}

I am getting same warnings in Unity 2019.2 and 2020.1.2.

Can someone help me figure out what the problem is?

UPDATE: warning is appearing only on MacOS with Metal Graphic API

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Unity spits out a lot of warnings. I would just ignore them if your code is working.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda