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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Add comment