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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment