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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
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.