Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Resolved (IN-66726) Enabling APV in URP with Render graph throws errors when ctrl is pressed in scene view.

Discussion in 'Unity 6 Beta' started by Tigrian, Jan 23, 2024.

  1. Tigrian

    Tigrian

    Joined:
    Mar 21, 2021
    Posts:
    125
    Hi! After I enable APV in an empty URP project, I get spammed of render graph errors while trying to save an empty scene through shortcut. It is in fact the Ctrl key, when pressed while scene view is the selected window, that seems to trigger something that darken the scene and generate errors in the console. Disabling render graph will make the key work again.

    The errors are along these lines :

    Exception: Pass 'Debug' is using the legacy rendergraph API. You cannot use legacy passes with the native render pass compiler. Please do not use AddPass on the rendergrpah but use one of the more specific pass types such as AddRasterRenderPass

    InvalidOperationException: The previously scheduled job ZBinningJob writes to the Unity.Collections.NativeArray`1[System.UInt32] ZBinningJob.bins. You must call JobHandle.Complete() on the job ZBinningJob, before you can write to the Unity.Collections.NativeArray`1[System.UInt32] safely

    InvalidOperationException: Trying to use a texture (_CameraNormalsTexture) that was already released or not yet created. Make sure you declare it for reading in your pass or you don't read it before it's been written to at least once.

    Bug report : IN-66726
     
  2. Wintermute-

    Wintermute-

    Joined:
    Sep 5, 2017
    Posts:
    56
    Having the same issue with Unity version 2023.3.0a18 and 2023.3.0b9.