The 3D extension shells out and uses an environment array from $wg3dProcessEnviron, however there's no default set so it ends up being NULL. This then throws an error in wfShellExec, as reported on https://www.mediawiki.org/wiki/Topic:U53nq77l9mtcyji4
Recommendation: set a default value in extension.json.