Search Issue Tracker
Not Reproducible
Votes
4
Found in
2020.1
2020.1.0b9
2020.2
Issue ID
1250557
Regression
No
Crash on vkGetInstanceProcAddr when consecutively executing a method for a number of meshes which creates a cropped 4K texture
Reproduction steps:
1. Download the project from the link provided in the edit
2. Open the downloaded project
3. Select all meshes in Assets/Meshes
4. Right-click on any of them and select Tools/Do some magic!
Reproducible with: 2020.1.0a8, 2020.1.0b14, 2020.2.0a16
Couldn't test versions below 2020.1.0a8, due to Unity getting stuck on importing certain textures and leaking memory
First lines of the stacktraces:
0x00007FF66AD6DDF4 (Unity) TiledTextureManager::CheckMemoryBudgetAndUpdateTiledResources
0x00007FF66AD96521 (Unity) GfxDeviceD3D12::QueuePresent
0x00007FF66AD5A759 (Unity) D3D12Window::EndRendering
0x00007FF66E14B401 (Unity) GfxDeviceWorker::RunCommand
0x00007FF66E14E0BC (Unity) GfxDeviceWorker::RunExt
0x00007FF91398768F (nvoglv64) vkGetInstanceProcAddr
0x00007FF91397B176 (nvoglv64) vkGetInstanceProcAddr
0x00007FF66235DB8B (Unity) vk::Image::CreateImageViews
0x00007FF6623A1C70 (Unity) vk::ImageManager::CreateImage
0x00007FF66235C506 (Unity) vk::Texture::Create
Notes:
- The specific method takes source texture atlas in 16Kx16K and creates new cropped 4K texture with segments used only by the mesh for which the method was executed
- Memory consumption before the crash indicates possible memory leaks as it doesn't seem to consume more than 4GB of RAM when using DX11, where Vulkan and DX12 might rise up to 8-16GB of RAM usage
- Reproduces with Vulkan, DX12
- Doesn't reproduce with DX11, OpenGLCore, OpenGLES3
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (2020.3.X):
Not reproducible on 2020.3.30f1, 2022.2.0a6