Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.3.X
Votes
0
Found in
2021.2
2021.2.0b4
2022.1
Issue ID
1355120
Regression
Yes
NullReferenceException when changing Texture Shape
How to reproduce:
1. Open project
2. Select leaf texture in Project View
3. Change Texture Shape to Cube and hit Apply
4. Observe console
Error:
NullReferenceException: SerializedObject of SerializedProperty has been Disposed.
UnityEditor.SerializedProperty.get_hasMultipleDifferentValues () (at <bd5db0e0a5434805b15a1c521ea345cc>:0)
UnityEditor.TextureImporterInspector.OnInspectorGUI () (at <bd5db0e0a5434805b15a1c521ea345cc>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <90bfa07fb5eb485c85c9136f8270cd9d>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Reproducible with: 2021.2.0b4, 2022.1.0a4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
- “ArgumentOutOfRangeException” after saving, reseting and re-add Default Tile Palette Tools to the list in Preferences window
Add comment