Search Issue Tracker
Fixed
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.2
2021.2.3f1
2022.2
Issue ID
1401977
Regression
No
Texture2D.Reinitialize throws error when resizing with a compressed TextureFormat
Reproduction steps:
1. Open the attached project
2. Open scene 'Scenes/SampleScene'
3. Enter Play mode
Expected result: The texture is reinitialized
Actual result: An error is thrown: Can't resize to a compressed texture format
Reproducible with: 2021.2.12f1, 2022.2.0a5
Couldn't test with: 2019.4.36f1, 2020.3.29f1 (Texture2D.Reinitialize not available)
Note:
If testing on a custom texture, make sure that the texture has 'Advanced -> Read/Write' checked
-
atr0phy
Feb 15, 2023 07:50
This, most certainly, has NOT been fixed in 2021.3.x
Issue is present in 2021.3.4f1
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
Fixed in 2022.2.0a12
Resolution Note (fix version 2022.1):
Fixed in 2022.1.1f1
Resolution Note (fix version 2021.3):
Fixed in 2021.3.5f1