Search Issue Tracker
Fixed
Fixed in 6000.1.0b5, 6000.2.0a1
Votes
0
Found in
6000.1.0a8
6000.2.0a1
Issue ID
UUM-92417
Regression
Yes
D3D12 PSO disk cache feature crashes if paths contain non-ASCII characters
Steps to reproduce:
1. Somehow make PersistentDataPath contain non-ascii characters (either a create a Windows user with a non-ASCII name, or hack the source code);
2. Run the Windows player with DX12
3. Close the player
4. Observe a crash
Callstack:
KernelBase.dll!RaiseException() Unknown
vcruntime140d_app.dll!_CxxThrowException() + 288 bytes Unknown
UnityPlayer.dll!std::filesystem::_Throw_fs_error(const char * _Op, const std::error_code & _Error, const std::filesystem::path & _Path1) Line 1841 C++
UnityPlayer.dll!std::filesystem::create_directories(const std::filesystem::path & _Path) Line 3846 C++
UnityPlayer.dll!PipelineUtilities::WriteData::__l2::<lambda>() Line 26 C++
UnityPlayer.dll!std::call_once<void <lambda>(void)>(std::once_flag & _Once, PipelineUtilities::WriteData::__l2::void <lambda>(void) && _Fx) Line 104 C++
UnityPlayer.dll!PipelineUtilities::WriteData(const char * name, const void * data, unsigned __int64 size) Line 30 C++
UnityPlayer.dll!D3D12PipelineCacheLibrary::SaveCache() Line 104 C++
UnityPlayer.dll!D3D12PipelineCache::SavePipelineCache() Line 117 C++
UnityPlayer.dll!D3D12PipelineCache::~D3D12PipelineCache() Line 69 C++
UnityPlayer.dll!GfxDeviceD3D12::~GfxDeviceD3D12() Line 1251 C++
UnityPlayer.dll!GfxDeviceD3D12::`scalar deleting destructor'(unsigned int) C++
UnityPlayer.dll!DestroyRealGfxDevice() Line 320 C++
UnityPlayer.dll!GfxDeviceWorker::~GfxDeviceWorker() Line 152 C++
UnityPlayer.dll!GfxDeviceWorker::`scalar deleting destructor'(unsigned int) C++
UnityPlayer.dll!GfxDeviceClient::~GfxDeviceClient() Line 253 C++
UnityPlayer.dll!GfxDeviceClient::`scalar deleting destructor'(unsigned int) C++
UnityPlayer.dll!GfxDeviceClientPool::ReleaseThreadedDevices(GfxDevice * mainClient) Line 79 C++
UnityPlayer.dll!DestroyGfxDevice() Line 232 C++
\\
Reproducible with versions: 6000.1.0b1
Not reproducible with versions: 6000.1.0a7
Tested on (OS): Windows 11 24H2
Notes This issue affects every game as it will crash in the wild when distributed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment