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
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
- The first frames are skipped when playing a video
- Text auto-scrolling can not work when naming assets/objects until backspace key is pressed
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.