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
- 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