Search Issue Tracker
Fixed
Votes
1
Found in
4.1.0b4
Issue ID
529990
Regression
No
[Texture2D] Texture2D.Compress() method compresses texture correctly, but writes errors in console.
Texture2D.Compress() method compress texture correclty, but writes errors in console:
d3d: failed to create 2D texture id=1289 w=1 h=1 mips=1 d3dfmt=894720068 [invalid call]
RGBA(1.000, 0.000, 0.000, 1.000)
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
Script:Start() (at Assets\Script.cs:16)
(Filename: Assets/Script.cs Line: 16)
failed to create 2D texture
(Filename: C:/BuildAgent/work/1562415f59e0ded/Runtime/GfxDevice/d3d/TexturesD3D9.cpp Line: 244)
!texture.texture
(Filename: C:/BuildAgent/work/1562415f59e0ded/Runtime/GfxDevice/d3d/TexturesD3D9.cpp Line: 591)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment