Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2018.4
2019.1
2019.2
2019.3
2020.1
2020.2
2020.2.0a10
Issue ID
1242679
Regression
No
Unable to Create Material Preset of the Default-Material assigned to the primitive GameObject
Unable to Create Material Preset of the Default-Material assigned to the primitive GameObject like Cube, Sphere etc
Steps to Repro:
1. Create a new Project
2. Create Hierarchy > right-click > Cube
3. Select Cube > Inspector > Default-Material (Material) > Burger Button > Create Material Preset
Expected Result:
Material Preset created
Actual Result:
"Couldn't create asset file!" exception is thrown
Reproducible on: 2020.2.0a10, 2020.1.0b7, 2019.3.10f1, 2019.2.12f1, 2019.1.14f1, 2018.4.22f1
Environment: Windows 10 and Mac 10.14
Stack Trace:
Couldn't create asset file!
UnityEngine.StackTraceUtility:ExtractStackTrace ()
TMPro.EditorUtilities.TMP_ContextMenus:DuplicateMaterial (UnityEditor.MenuCommand) (at Library/PackageCache/com.unity.textmeshpro@3.0.0-preview.1/Scripts/Editor/TMPro_ContextMenus.cs:61)
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (2020.2.X):
Create material Preset is meant to work with materials used in the TMP package and not supported for generic materials. Moreover the default materials do not reside in the project folder and cannot be duplicated. In the future update of TMP the issue would be fixed and a warning would be thrown to the user saying the it is not supported to create a preset of materials that are not in the project