Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2020.3.47f1
2021.3.23f1
2022.2.16f1
2023.1.0b14
2023.2.0a12
Issue ID
UUM-33853
Regression
No
miscFlag is 0 of Texture2D with mipChain = true when using Native Plugin DX11
How to reproduce:
1. Open the attached project "NativePlugin.zip"
2. Open Assets/scene.unity
3. Open NativePlugin\PluginSource\projects\VisualStudio2015\RenderingPlugin.sln
4. Open "RenderAPI_D3D11.cpp" in the Solution Explorer
5. Add breakpoint at line 261
6. Click Debug>Attach to Process...
7. Select "UnityProject - scene" in the Attach to Process window
8. Click Attach
9. Enter Play Mode in the Unity Editor
10. Step Over (F10) 3 times in the Visual Studio
Expected results: miscFlag = 1
Actual results: miscFlag = 0
Reproducible with: 2020.3.47f1, 2021.3.23f1, 2022.2.16f1, 2023.1.0b14, 2023.2.0a12
Reproducible on: Windows 10
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
- 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
Resolution Note:
Selecting a mipchain for a texture means that we are generating it offline during the build process. It does not mean that we use the automatic mip generation of DX11 that also requires the texture to be set as a rendertarget, which would have performance implications.
Resolution Note (2023.2.X):
Selecting a mipchain for a texture means that we are generating it offline during the build process. It does not mean that we use the automatic mip generation of DX11 that also requires the texture to be set as a rendertarget, which would have performance implications.