The type or namespace name 'PostProcessing' does not exist in the namespace 'UnityEngine.Rendering' On unity package

Viewed 22

I would like to use the 'PostProcessing' package on my package script. if i import it and using

using UnityEngine.Rendering.PostProcessing;

that only works if the script is on the Assets/ folder (but my script is on the Package/ folder and i got this error : )

The type or namespace name 'PostProcessing' does not exist in the namespace 'UnityEngine.Rendering' 

Edit :

The problem was i did'nt add the post process dependance in my assembly definition file

1 Answers

try implementing > namespace UnityEngine.Rendering.PostProcessing, if not try putting the script into the post processing folder, that should work

Related