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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment