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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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.