Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3
2019.3.0f6
2020.1
Issue ID
1221046
Regression
No
Layered Materials are not including child materials as dependencies when exporting a package
How to reproduce:
1. Open user-submitted project (Layered Materials.zip)
2. Select the Assets/Materials/Material.mat
3. See that it has 3 child materials: '0_Blue.mat', '1_Red.mat', '2_Yellow.mat'
4. Right-click 'Material.mat' and select 'Export package'
5. Make sure 'Include dependencies' is checked
Expected result: the 3 child materials are in the list of items to export
Actual result: the 3 child materials are not in the list of items to export
Reproducible with: 2018.4.17f1, 2019.3.2f1, 2020.1.0a24
Could not test with: 2017.4.37f1(HDRP unavailable for Layered Materials)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
There is no dependency between layered material and child material. The "child" material are just an ease of authoring, when pressing the button it is just copy/pasting the attribute, that all, so they can be exported. To export them, they need to be explicitly selected.