If a custom shader works in one version of the engine but not another, how do I troubleshoot what is broken and fix it?
In your case, it is virtual shader path that changed between versions.