Search Issue Tracker
Won't Fix
Votes
1
Found in
5.1.1f1
Issue ID
714586
Regression
No
[D3D9] Update is stopped executing with Run In Background enabled under D3D9 with Fullscreen Mode set to Exclusive
Steps to reproduce:
1. Open the attached project
2. Build and run the scene with these settings (should be set by default):
D3D9 Fullscreen Mode: Exclusive Mode
Graphics API: Direct3D9
Run In Background: Enabled
3. Switch to desktop (Alt+Tab)
4. Open the 'output_log.txt' for the player ([BuildFolderName]/[BuildName]_Data/output_log.txt)
5. Notice once the player was left in background it stopped executing Update() functions and "HandleD3DDeviceLost HandleD3DDeviceLost: still lost Skipped frame because GfxDevice is in invalid state (device lost)" was spammed every frame instead
6. If you switch back to the game window and switch to the editor again (leaving game window in the background), you'll notice that it continued executing Update() once it was the active program again, and stopped as you left it in background
Notes: Does not happen if Fullscreen Mode is set to Fullscreen Window. Also does not seem to happen under D3D11 graphics API.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Add comment