Search Issue Tracker
Won't Fix
Votes
3
Found in
2023.1.0a2
Issue ID
UUM-34572
Regression
Yes
TextureImporterInspector.OnInspectorGUI error after deselecting a texture in certain scenarios
Steps to reproduce:
1. Open the attached project
2. Select "New Material" in the Project Window
3. Select the texture next to the material
4. Select the material from step 3 again
5. Observe the console
Expected result: No errors
Actual result: The following error
TextureImporterInspector.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour.
UnityEditor.TextureImporterInspector:OnDisable () (at /Users/bokken/build/output/unity/unity/Editor/Mono/ImportSettings/TextureImporterInspector.cs:98)
Reproducible with: 2023.1.0a2, 2023.1.0b15, 2023.2.0a13
Not reproducible: 2022.2.0a19, 2022.2.18f1
-
wirmachenbunt
Oct 05, 2023 18:27
version 2022.3.4f1 , same issue,really annoying and sometimes renders the inspector window empty, can't change any texture nor material properties
-
SixOneTwo612
Sep 21, 2023 02:47
I am having this error in 2022.3.8f1
-
JoshuaMeurey
Aug 10, 2023 08:13
Reproduced in 2022.3.3f1: I guess you should have the preview panel opened.
Steps are:
- select a sprite (displayed properly in preview)
- select another item in project (not a sprite, i.e. a folder)Then, this error is logged:
TextureImporterInspector.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour.
UnityEditor.InspectorWindow:RedrawFromNative () -
Mellurboo
Jul 17, 2023 19:41
In typical unity style you guys refuse to fix an engine breaking bug
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Resolution Note:
Cannot reproduce on 23.3, 23.2 or 23.1. I looked at the code printing the exception and it could print this exception if Apply wasn't called when texture import settings had changed. I did a few tests with this and I always get the dialog asking to save. Maybe there is a texture import settings that doesn't trigger a Dialog? I would need more precise repro steps in this case.