Page MenuHome

Templates are not recognized on Windows if the User Preferences and Scripts are set to a Network Drive location via environment variables
Open, Confirmed, MediumPublic


System Information
Operating system: Windows 10, latest updated (happened in Windows 7 too)
Graphics card: Quadro 4000

Blender Version
every version that had Template System, both 2.79 and 2.8

Short description of error
This might be linked in some regards to the report here: but my case is a bit different. I am using BLENDER_USER_CONFIG and BLENDER_USER_SCRIPTS environment variables to relocate the User prefs to a network drive, so I can access them company-wide. While this works great for scripts, the steps described here do not work - the Templates are never even listed:

When I install an application template, say, Blender-Pro, via the provided commands in Blender 2.79, it is copied to the correct location stated in the manual:

But the UI does not list it:

But here comes the best part: If I move the entire folder bl_app_templates_user from the correct location to my local drive, that is C:\Users\MYUSER\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\startup, it IS recognized:

So it seems as if the Application System is entirely ignoring the BLENDER_USER_SCRIPTS variable.



Event Timeline

Sebastian Parborg (zeddb) triaged this task as Normal priority.

I'm guessing this is related to T58692

It's just not using BLENDER_SYSTEM_SCRIPTS and BLENDER_USER_SCRIPTS variables for this.

Ideally it would use we could just use script_paths() in app_template_paths() , but it's a bit more complicated because the subdirectory is different depending if it's a system or user directory. (I'm not sure what the reasoning for that was).

Brecht Van Lommel (brecht) raised the priority of this task from Normal to Confirmed, Medium.Jan 4 2019, 5:01 PM