Maya Opens but give me an error SGTK_ENGINE

Hello,
Im openning my Maya through the shotgun desktop app and when it’s loaded, it give me this error on my script editor : # Error: Shotgun: Missing required environment variable SGTK_ENGINE. #
How I can fix it ?

4 Likes

Hi @miguel.oliveira, welcome to the forums!!

That environment variable should be set by the launch process in Shotgun Desktop just before it starts Maya, then the Maya process inherits that env var.
So the fact that it is not set, means perhaps two things:

  1. You’re modifying or stripping out the environment at some point during the launch?
  2. Perhaps the startup script is executing twice for some reason, since we will clean this env var up once the engine starts. Are the integrations working other than this error appearing?
2 Likes