This solves the problem for macOS and Linux, but not Windows yet. Differential Revision: https://developer.blender.org/D6673