Recursively walk down the material unit tree while importing