Migrate existing ScriptableRenderPasses Error

I’ve migrated a project to Unity 6 and I’m receiving this warning.

The project currently uses the compatibility mode where the Render Graph API is disabled. Support for this mode will be removed in future Unity versions. Migrate existing ScriptableRenderPasses to the new RenderGraph API. After the migration, disable the compatibility mode in Edit > Projects Settings > Graphics > Render Graph.
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

Muse tells me that I need to re-code my render pass to use the new format? I have no idea how to do this, if true.

How do I resolve this?

You can find more info here.

For everyone else who feels gaslit by this, yes you can find more “info” on this (buried in a forum thread, really?) but you cannot find any actual guided assistance for migrating existing features because there is no actual migration guide or support for this, just a persistent warning in the console that you can’t dismiss.

Surely if you elect to keep your project in compatibility mode (at least until there’s some kind of proper published migration workflow), then this ever-present mental assault is not necessary, right?

1 Like

Agreed, I reviewed their link and it was so entirely useless I assumed it could only be intentional. So I moved on and rewrote my entire project in the new core.