Errors when VertexNormalWS plugged into WorldPositionOffset

I migrated some materials from 4.21 to a project in 4.22 and a bunch of them are throwing this error and not compiling. I narrowed it down to the VertexNormalWS being connected to the WorldPositionOffset input.

It works if I turn on tesselation in the material details and plug the VertexNormalWS node into the WorldDisplacement input, but this means I can’t use the material on Alembic caches since they can’t be tessellated yet. Any help?