• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

650
Views
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 3 years ago · Santiago Trujillo
1 answers
Answer question

0

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

over 3 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error