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
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
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.