How can I fix this error?
Library\PackageCache\com.unity.render-pipelines.universal@7.2.1\Runtime\Passes\DrawObjectsPass.cs(17,9): error CS0246: The type or namespace name 'ProfilingSampler' could not be found (are you missing a using directive or an assembly reference?)
Answer by Phi79 · Jul 11, 2020 at 07:30 PM
Same old story!! Go to the Package Manager and then updated your pipeline dependencies...
It is easy for Unity to automatically checking these things and fixed itself - But people just too lazy to do anything about it!
Make sure your "Lightweight RP", "Core RP Library", "Shader Graph" are all updated to the same version.
Reimport All if it is still not working.
Go to Shader Editor and move items around if you see pink (invalid) materials so that it can do the updated.
Your answer
Follow this Question
Related Questions
Need Ideas for optimizing lighting for a mobile game 0 Answers
I got invalid conditional expression error but there isn't any invalid conditional . 0 Answers
Shader/Lighting Problem! Terrain texture looks awful. Please Help 1 Answer
Remove circular shadow from object 1 Answer
Specular light reflections in android do not render properly 0 Answers