Search Issue Tracker

Fixed

Fixed in 2021.3.41f1, 2022.3.36f1, 6000.0.8f1, 7000.0.0a1

Votes

0

Found in

2021.3.39f1

2022.3.33f1

6000.0.6f1

7000.0.0a1

Issue ID

UUM-73757

Regression

No

Nativeplugin Vulkan image gets deleted while in use and AccessTexture returns an invalid texture causing a crash or corruption when QualitySettings.anisotropicFiltering is called

-

Steps to reproduce:
1. Open the attached “UnityProject.zip”
2. Make sure the Editor is using Vulkan API
3. Open “scene”
4. Enter Play Mode
5. Select the “_PlaneThatCallsIntoPlugin” GameObject through the Hierarchy window
6. Enable the “Enable the Anisotropic Filtering” under the “Use Rendering Plugin” component through the Inspector window
7. Observe the Editor crash or freeze

Reproducible with versions: 2021.3.39f1, 2022.3.33f1, 6000.0.6f1

Reproducible on: Windows 10
Not reproducible on: macOS Sonoma 14.5 (Intel)

Notes:
- Also reproducible in Standalone Player
- Only reproducible using the Vulcan rendering back end
- For additional context, the plugin is used to control the glyphs rendering and texture atlas handling for a dynamic font/emoji renderer

First few lines of Stack Trace:

{noformat}0x00007FF6ACE58460 (Unity) vk::Image::AccessWholeImage
0x00007FF6ACB23A8F (Unity) vk::TextureAccessInternal
0x00007FF6ACB23D07 (Unity) vk::TextureImpl
0x00007FF926715A98 (RenderingPlugin) GetRenderTexture
0x00007FF926717AF3 (RenderingPlugin) GetRenderTexture{noformat}

  1. Resolution Note (fix version 7000.0.0a1):

    Fixed Vulkan native rendering plugin returning an invalid texture when sampler configuration is updated.

  2. Resolution Note (fix version 6000.0.8f1):

    Fixed Vulkan native rendering plugin returning an invalid texture when sampler configuration is updated.

  3. Resolution Note (fix version 2022.3.36f1):

    Fixed Vulkan native rendering plugin returning an invalid texture when sampler configuration is updated.

  4. Resolution Note (fix version 2021.3.41f1):

    Fixed Vulkan native rendering plugin returning an invalid texture when sampler configuration is updated.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.