stride icon indicating copy to clipboard operation
stride copied to clipboard

Change MaterialAssetCompilers build dependency type to other materials (#1477)

Open laske185 opened this issue 3 years ago • 1 comments

PR Details

Set in the MaterialAssetCompiler the BuildDependencyType to materials to Runtime to resolve the issue described in #1477.

Description

Change the BuildDependencyType to materials to BuildDependencyType.Runtime (as it is in the ModelAssetCompiler). So the AssetDependenciesCompiler also compiles materials referenced by material layers.

Related Issue

Closes #1477

Motivation and Context

I'm not able to compile my project with the explained asset setup. With that change it works.

Types of changes

  • [ ] Docs change / refactoring / dependency upgrade
  • [X] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • [ ] My change requires a change to the documentation.
  • [ ] I have added tests to cover my changes.
  • [ ] All new and existing tests passed.

laske185 avatar Jul 25 '22 19:07 laske185

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 25 '22 19:07 CLAassistant