Search Issue Tracker
Fixed
Fixed in 6000.2.0a4
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
6000.1.0a7
6000.2.0a1
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment