Steps to reproduce:
- Create and open a new project
- Change the Graphics API to Direct3D12 in 'Edit -> Project Settings -> Player'
- Create a new Script with a line "[SerializeField] private Object obj;" in it
- Instantiate the Script in Hierarchy
- Import TextMeshPro Examples and Extras
- Open the Object Picker in the Script instance
- Select any one "Font Texture" from the list in Object Picker (it's of size 0B and has the resolution of 0x0)
- Observe the Console
Actual results: "d3d12: Attempting to bind a NULL or empty texture. Perhaps the texture contains no image data or has an invalid size." is thrown on each Object Picker window refresh
Expected results: Nothing or a warning is thrown in the Console
Reproducible with versions: 6000.0.0f1, 6000.0.77f1, 6000.3.17f1, 6000.4.11f1, 6000.5.0b12, 6000.6.0a7
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- Reproduction is not always consistent; it's not clear why certain empty textures fail to be parsed, while others do not
- Not reproducible with Vulkan, DX11