viewport 2d without sampling + canvas give error, how should i fix it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By potatobanana

viewport 2d without sampling + canvas give error, how should i fix it?
0.my main world is 2d, and i have WorldEnvironment with mode canvas in it
-i need a glow effect so i need canvas

  1. when i spawn sprite with viewport as texture i get this error
    -render scene: can't use canvas background mode in a render target configured without sampling
  2. in my viewport setting, i just put usage = 2d without sampling and transparentBG = true
  3. if i use other, i will get black backgound
    how should i fix it?