Search Issue Tracker
Fixed
Fixed in 2022.2.2f1, 2023.1.0a22
Votes
0
Found in
2022.2.1f1
2023.1.0a21
Issue ID
UUM-26042
Regression
Yes
Crash on AssetDatabase::CheckCanAddObjectToAsset(Object*) when applying textures on GameObjects in Scene view
Reproduction steps:
1. Open the attached project “TextureCrash”
2. In the Project window find the “Assets/Herringbone_Brick_baseColor” texture file and apply it to any GameObject in the Scene view
Expected result: The texture is applied to the GameObject
Actual result: Unity crashes
Reproducible with: 2022.2.1f1, 2023.1.0a18, 2023.1.0a21
Not reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0a17, 2023.1.0b2
Fixed in: 2022.2.2f1, 2023.1.0a22
Reproducible on: macOS 13.1 (Intel)
Stacktrace:
#0 0x00000102989f4c in AssetDatabase::CheckCanAddObjectToAsset(Object*) 2
#1 0x00000102ac119c in CreateSerializedAssetV2(Object**, int, core::basic_string<char, core::StringStorageDefault<char> > const&, AssetDatabase::CreateAssetMask, AssetResolver const&) 3
#2 0x0000010298ab4c in AssetDatabase::CreateSerializedAsset(Object&, UnityGUID const&, core::basic_string_ref<char>, core::basic_string<char, core::StringStorageDefault<char> > const&, AssetDatabase::CreateAssetMask) 4
#3 0x0000010350fc94 in CreateMaterialAsset(Material*, core::basic_string<char, core::StringStorageDefault<char> > const&) 5
#4 0x0000010206c878 in FindOrCreateMaterialAssetForTexture(Texture&, Shader&, ShaderLab::FastPropertyName, Material*) 6
#5 0x000001020691dc in HandleTextureDragAndDrop(Object*, Object*, DragAndDropForwarding::DragInfo*)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
Add comment