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
- GameObjects change Hierarchy order when undoing adding Component to multiple GameObjects
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
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.