Search Issue Tracker
Not Reproducible
Votes
0
Found in
Issue ID
1104684
Regression
No
[UWP][ARM64] Exception is thrown at the end of re-sizing player window with DX12.
When using DX12, the UWP player throws exception at the end of window re-sizing.
Repro:
1. Create a new empty project
2. In Player Settings, uncheck "Default is Full Screen" under Resolution and Presentation
3. In Player Settings, unckeck "Auto Graphic API" and select Direct3D12.
4. Build and launch player on ARM64 device.
5. Resize the player.
Expected: Resizing player window does not cause exception or freeze.
Callstack:
> UnityPlayer.dll!D3D12SwapChainBase::RecreateBackbufferResources(int width, int height, bool sRGB) Line 423 C++
UnityPlayer.dll!D3D12SwapChainBase::Adjust(int realWidth, int realHeight, int width, int height, int refreshRate, bool fullscreen, bool stereo, int vsynccount, bool initialization) Line 521 C++
UnityPlayer.dll!AdjustPrimaryD3D12SwapChain(int realWidth, int realHeight, int width, int height, float compositionScaleX, float compositionScaleY, int refreshRate, bool fullscreen, bool stereo, int vsynccount, int & outBackbufferBPP, int & outFrontbufferBPP, int & outDepthBPP) Line 609 C++
UnityPlayer.dll!ScreenManagerMetro::SetResolutionImmediate(int width, int height, FullscreenMode fullscreenMode, int preferredRefreshRate) Line 187 C++
UnityPlayer.dll!metro::ChangeWindowSize(int width, int height, bool fullscreen) Line 153 C++
UnityPlayer.dll!UnityPlayer::AppCallbacks::PerformWindowSizeChange() Line 1403 C++
UnityPlayer.dll!Platform::Details::__abi_FunctorCapture<<lambda_b09b1cfee68cc59caf707efab8a36bd6>,void>::Invoke() Line 889 C++
UnityPlayer.dll!UnityPlayer::AppCallbackItem::NonVInvoke() C++
UnityPlayer.dll!UnityPlayer::AppCallbacks::ExecuteQueuedCallbacks() Line 479 C++
UnityPlayer.dll!UnityPlayer::AppCallbacks::_AppThreadImplementation(void * param) Line 177 C++
UnityPlayer.dll!UnityPlayer::AppCallbacks::_AppThread(void * param) Line 258 C++
kernel32.dll!00007ffc928f5ba4() Unknown
ntdll.dll!00007ffc93c50424() Unknown
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
- GameObjects that contain the MeshRenderer component are not rendered in Android Player when using URP 2D Lit/Unlit Material Shaders
- Clips animation mask definition is set to "None" but created clip has a mask applied when importing an .fbx asset
- Material preview shape button does not work with material modified through script at runtime
- Crash on OpenAdapter10 when using Rendering Debugger Display Cells visualization
Add comment