We recently upgraded RV to the latest version and the tk-rv engine has stopped working. Were there any particular upgrades in RV that we should be aware of to get our toolkit engine working again?
From the error logs, it seems like it’s trying to execute some base pipeline configuration hooks to bootstrap the engine, but the paths of these hooks are invalid paths within the RV installation directory and it’s unclear where these paths are being set.
ERROR: sgtk_rv_bootstrap:tk-rv bootstrapping process failed: The supplied core path '<RV_INSTALL_DIR>/src/sgtk/baked/plugin/bundle_cache/baked/tk-config-rv/v2.1.0-rc1/python' is not a valid directory.
I’ve followed the flow of commands step by step using pdb, but it’s hard to pinpoint where that path is being generated, but I think that last “python” folder that gets appended to that path is wrong.
If you install RV with the installer I believe the RV_INSTALL_DIR environment variable is set on the system or Rv is able to determine where it was installed.
Hmm strange. RV_INSTALL_DIR seems to be empty at the point it tries to bootstrap the engine. RV was installed using Rez, but the way we used Rez here is basically configured to install a copy of everything into a final location on disk. I’ll take a closer look at this envar.