Search Issue Tracker
By Design
Votes
0
Found in
2019.2.0a6
2019.3.0a4
Issue ID
1158217
Regression
Yes
[TextureImporter] Texture Importer applies settings before they are Applied in the Inspector
How to reproduce:
1. Open the attached project
2. Select "level4" texture and make sure it has "Read/Write Enabled" setting disabled and applied
3. Find menu item "TextureCheck/IsSettingApplied" and press it
- You should get "isReadable = False" in Console as Asset importer returns False on importer.isReadable
4. Select "level4" texture again and enable "Read/Write Enabled" setting, but don't apply
5. Find menu item "TextureCheck/IsSettingApplied" and press it
Result: You will get "isReadable = True" even when this setting wasn't applied on texture. Might be the same with all texture importer settings
Reproducible: 2019.3.0a4, 2019.2.0a12, 2019.2.0a6
Not reproducible: 2019.1.1f1, 2019.2.0a4
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
- Nested Canvases with the same Order in Layer ignore Z position for render order when sharing parent Canvas
- ShaderGraph Material subasset loses texture reference when reimporting all assets while using a scripted importer
- Values changed on a prefab are not retained when entering Play Mode
- Shadow Caster 2D shadows partially disappear in specific spots when used with Composite Collider 2D in the Game view
- Hierarchy and Library parts in UI Builder are inaccessible when UI Builder window is resized and these elements no longer fit in the window
Resolution Note:
This behavior is caused by an AssetImporter refactor done in 2019.2. Note that although the property values of the Importer instance changes, the meta file still won't be modified until the user press Apply so the asset won't change on the fly as the user modify the properties. It's just that now, the Instance of the Importer will reflect what's from the UI.