Unity Issue Tracker - "New Decal.mat has no meta file, but it's in an immutable folder" error is thrown when creating a new Material for a Decal Projector after clicking the default Decal Material
Closed
UUM-110731
"New Decal.mat has no meta file, but it's in an immutable folder" error is thrown when creating a new Material for a Decal Projector after clicking the default Decal Material
Unity: Materials
Feature Request
6.3.X
6.2.X
6.1.X
6.0.X
Would be nice if new assets couldn't be created from script in immutable folders.
Steps to reproduce:
Create a new Unity project using the Universal 3D template
Create a new Decal Projector GameObject (GameObject > Rendering > URP Decal Projector)
Select the new created Decal Projector GameObject in the Hierarchy window
Click on the "Decal" Material property
Click the "New" button to create a new Decal Material
Observe the Console window
Actual results: "New Decal.mat has no meta file, but it's in an immutable folder. The asset will be ignored." error is thrown
Expected results: Either a warning/popup that the Material cannot be created in this folder or create the new Material in the default Assets folder
Reproducible with versions: 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1
Can’t test with versions: 2021.3.51f1, 2022.3.64f1 ("New" button does not exist in these versions)
Tested on (OS): macOS Silicon Sequoia 15.5
Prioritise and Follow this issue
Have a workaround or additional info about this issue?