Search Issue Tracker
By Design
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
- Out of memory crash when selecting more than 80000 Assets simultaneously
- UI Toolkit Button text is not rendered when the Button has fixed height with specific Icon font
- Unable to bind RenderTexture to the VisualElement's StyleBackground property
- SVG fails to import when 'stroke-miterlimit' is less than 1
- Test Runner fails to create a script in the active path when selecting a file as the active path
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.