Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question CopyTexture could not find source D3D11 texture object

Discussion in 'General Discussion' started by JediNizar, Aug 11, 2022.

  1. JediNizar

    JediNizar

    Joined:
    Nov 13, 2016
    Posts:
    111
    Hi,
    I'm using unity 2022.1.11f1 and I'm using Linear color space. I get the following error each time I run my scene
    Graphics.CopyTexture could not find source D3D11 texture object. Maybe it is a RenderTexture that is not created yet?

    I googled and I found "solution" :
    In the Project View, navigate to the Assets/Settings folder.

    Right click and select Create...Rendering...High Definition Render Pipeline Resources to create an HDRP resources object.

    Back in the Project View, select the HDRenderPipelineAsset object to open its inspector.

    Drag and drop the new resources object into the Render Pipeline Resources field in the pipeline asset

    The problem now is I cannot find step 3 in unity 2022 High Definition Render Pipeline Resources
    can any body help please
     
  2. cLick1338

    cLick1338

    Joined:
    Feb 23, 2017
    Posts:
    74
    I encountered this too, posting my fix/workaround. (Late bump and wrong forum section but this thread is the most relevant to this error I can find online currently)

    2022.2.5f1, HDRP, DX11
    Edit -> Project Settings -> Editor -> uncheck "Load texture data on demand"

    I think it's usually unchecked by default. Enabling it causes the error for me, breaking SSGI.