Search Issue Tracker
Fixed
Fixed in 6000.2.0a4, future release
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
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment