Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2017.4
2018.4
2019.2
2019.3
2019.3.0f1
2020.1
Issue ID
1204566
Regression
No
TextureImporter.wrapMode returns -1 when Texture's Wrap Mode is not changed
How to reproduce:
1. Open the attached project
2. Select Test->Run in the top toolbar
3. Inspect the Console Window
Expected result: TextureImporter.wrapMode returns "Repeat"
Actual result: TextureImporter.wrapMode returns "-1"
Reproducible with: 2017.4.35f1. 2018.4.13f1, 2019.2.15f1, 2019.3.0f1, 2020.1.0a15
Note: Changing Texture's Wrap Mode to anything else and then back to "Repeat" fixes the issue
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2020.1):
Fixed in Unity 2021.2.0a5 and above
Resolution Note (fix version 2021.1):
Fixed in Unity 2021.1.5f1
Resolution Note (fix version 2020.3):
Fixed in Unity 2020.3.8f1
Resolution Note (fix version 2019.4):
Fixed in Unity 2019.4.27f1