Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

[Worker0] Trying to get RenderBuffer with invalid antiAliasing (must be at least 1)

Discussion in 'Editor & General Support' started by DEEnvironment, Nov 24, 2021.

  1. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    255
    Unity URP api 12.1.1 2021.2.3

    i also found a few old threads from 2018 about this subject
    seams it may have returned in 2021.2.3

    this error happen when i was exporting a few new prefabs for the new 12x URP Decal Projector into a packed .unitypackage file

    Code (CSharp):
    1. [Worker0] Trying to get RenderBuffer with invalid antiAliasing (must be at least 1)
    also may be related ?
    Code (CSharp):
    1. [Worker0] Attempting to get Camera relative temporary RenderTexture (width || height <= 0) via a CommandBuffer  in a Sriptable Render Pipeline.
    2.  
    any idea what this was ?
     
    novaVision and KRKleinberg like this.
  2. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    390
    Same here. This appeared after migration from 2021.2.5f1 to 2021.2.7f1
     
  3. deXter_47

    deXter_47

    Joined:
    Jun 21, 2020
    Posts:
    1
    Happening for me too. Does anyone have a solution for this ?
     
  4. novaVision

    novaVision

    Joined:
    Nov 9, 2014
    Posts:
    390
    I saw that someone advice to remove URP profiles and create new one, but I didn't try it on my end
     
  5. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    255
    only going form 2021.2.5f1 to 2021.2.7f1 is not a big leap
    its possible your api was 12.1.1 and you may have move up into 12.1.2
    Unity has been continually flushing out small bugs and it is always a good idea to make a fresh camera / Dir light / and profiles when moving up into a higher api versions .. also consider cleaning out unity catch files and let it regenerate

    -- RenderPipelineAsset
    -- RenderPipelineLightLayers
    -- RenderPipelinePostProcessData

    i am not saying this is the problem however it is good practice to clean out any lingering catch data
     
  6. drupaljoe

    drupaljoe

    Joined:
    Feb 4, 2019
    Posts:
    96
    I'm also getting this.

    I suppose it's worth noting that I use Enviro and Opsive UFPS - both which provide some URP renderer feaures, just in case anyone else is also using those.
     
  7. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    255
    if you can reproduce this, please can you send a bug report
    i have not been able to produce it again
     
  8. spawnpointgaming

    spawnpointgaming

    Joined:
    Feb 5, 2019
    Posts:
    16
    I am getting this error while using the latest URP renderer from Gaia Pro 2021 asset.

    Did anyone have any solution as how to fix such errors ?
     
  9. Tycho

    Tycho

    Joined:
    Nov 24, 2012
    Posts:
    205
    I'm seeing the same errors in the editor after upgrading a URP project from 2021.1.12f1 to 2021.2.7f1.

    upload_2022-1-14_11-54-32.png

    They seem to consistently appear:
    • When I enter play mode while having a prefab selected in the project window
    • After exiting play mode and then selecting a prefab in the project window
     
  10. Vaupell

    Vaupell

    Joined:
    Dec 2, 2013
    Posts:
    259
    2021.2.8f1 URP, found it only using Vegetitation studio trying to place vegetation.
    upload_2022-1-22_13-58-37.png

    Also at and after runtime (it never stops) stack and leak errors. But this i find across multiple assets using any sort of URP..
    upload_2022-1-22_13-58-6.png
     
    DEEnvironment likes this.
unityunity