The name 'RenderPipeline' does not exist in the current context

I’m trying to upgrade to Unity 2019.3 but I keep getting this error even after clearing the PackageCache:

Library\PackageCache\com.unity.rendering.hybrid@0.0.1-preview.13\Unity.Rendering.Hybrid\HLOD.cs(91,17): error CS0103: The name ‘RenderPipeline’ does not exist in the current context

The offending code is:

RenderPipeline.beginCameraRendering += OnBeforeCull;

I also see usage of UnityEngine.Experimental.Rendering. Is there a package that I’m missing? If it is, what is it?

1 Like

You are using a very old version of the Hybrid renderer, perhaps try to update that (and the related packages)?

2 Likes

Yeah. I used an older version for now just to get the project to work. Only then will I update each package to the latest.

I believe there were rendering changes in 2019.3 that needed an update to the Hybrid renderer. I remember some of the early 2019.3 betas breaking because of this.

Try removing “Experimental” from the using directive. Seems like most of the experimental stuff were moved to the actual non-experimental namespaces.

Updating package should also do the trick (in theory).