Swtich android platform and delete graphics apis(vulkan) will cause resource import to get stuck

Hardware configuration:

CPU : Intel(R) Core™ i5-7500 CPU @ 3.40GHZ

RAM : 16G

GPU : NVIDIA GeForce GTX 1060 6GB.

Software configuration:

OS : Windows 10 64 bit

Unity : Unity 2020 3.41f1c1

Unity Graphics API: OpenGLES3,Vulkan

Problem description:

Unity will be frozen while switch to android platform, the progress bar show it is stuck in importing picture resource.

Repro Steps:

1.Open the project [current platform is PC ]

2.Select the Android platform in [Build Settings] panel,Switch the platform

3.Unity will re-import all resources.After waiting for a few minutes (no more than 5 minutes), the import progress bar will be stuck, showing that the progress of importing some pictures has stopped. The asset importer crashed.

As the picture shows:

9143482--1270492--upload_2023-7-13_15-7-43.png

Anyone meet the same problem? What is the reason of this bug?

Hello,

Would you kindly please report this issue via the Bug Reporter tool?
https://unity.com/releases/editor/qa/bug-reporting

Please make sure to write the exact steps needed to be taken so that the reproduction would be visually seen. Also make sure to attach a reproduction project and any visual material so that when testing our CQA team can verify that they got the same results. If you can, please use this template:

How to reproduce:

  1. Open the attached project
  2. Do this
  3. Do that
  4. Select this
  5. Observe that

Expected result: Something is visible, something is printed or something happens
Actual result: The opposite of what I expect happens

Reproducible with: Editor version I am using (e.g: 2021.3.xf1)

Reproduced on: The OS I am on (e.g: Windows 11, macOS Ventura 13.1 (Intel/Silicon))