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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment