Search Issue Tracker
Active
Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X
Votes
0
Found in
2020.3.45f1
2021.3.19f1
2022.2.7f1
2023.1.0b3
2023.2.0a2
2023.3.0a3
6000.0.0b11
7000.0.0a1
Issue ID
UUM-27014
Regression
No
An invalid asset is created and an error is logged when duplicating a sub-asset which has an empty name
Reproduction steps:
1. Open the “EmptyNameDuplication“ project
2. Expand the “Treestump.glb“ asset
3. Select and duplicate any Material (or Mesh) that has an empty name
Expected result: a duplicate of the selected sub-asset appears in Assets (e.g. named “Material.mat”)
Actual result: a wrong extension / invalid asset named “_mat” (or “_mesh”) appears in Assets, and an error is logged in Console
Reproduced in: 2020.3.45f1 (without the error), 2021.3.19f1, 2022.2.7f1, 2023.1.0b3, 2023.2.0a2
Reproduced using: macOS 13.0.1 (Intel), Windows 11 (by user)
Full error: “CreateAsset() should not be used to create a file of type '' - consider using AssetDatabase.ImportAsset() to import an existing '' file instead or change the file type to '*.asset'. This error will in a future release be changed to an exception.
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()”
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment