Skip to content

Camera input detaches from mouse after returning from background (AFK) #9677

Description

@decentraland-bot

Build version

v0.166.0-alpha-main

Issue Description

After leaving the app in the background for ~10 minutes (AFK) and returning, camera POV rotation cannot be controlled with the mouse — it appears to be detached from mouse input. The issue occurs after jumping and attempting to view another player's profile.

A notable log entry appears around the time the bug manifests:
```
Direct3D: detected that IDXGISwapChain::GetFrameStatistics is broken (it does not return proper timestamps). Delta time will now be calculated using cpu-side time stampling until the game window is moved.
```
This suggests the window lost proper D3D timing state while backgrounded, potentially leaving input/camera systems in a bad state when focus was restored.

STR (Steps to Reproduce)

  1. Open the app and log in normally
  2. Leave the app in the background for ~10 minutes (AFK)
  3. Return to the app and jump into the pond area
  4. Attempt to check another player's profile
  5. Try to rotate the camera POV with the mouse

Expected Result

Camera POV should respond normally to mouse input after the app returns from background.

Actual Result with evidence

Camera rotation is completely unresponsive to mouse input — the camera appears detached. The issue persisted for the remainder of the session.

Log evidence:
```
Direct3D: detected that IDXGISwapChain::GetFrameStatistics is broken (it does not return proper timestamps). Delta time will now be calculated using cpu-side time stampling until the game window is moved.
```

Reproduction

Intermittent (2/10)

Operative system and additional Notes

Windows 11 (10.0.26200), Spanish locale
Hardware: AMD Ryzen 5 5600G, NVIDIA GeForce RTX 3060 (12 GB VRAM), 48 GB RAM
NVIDIA Driver: 32.0.16.1088
Unity: 6000.4.0f1

Related issue: #9464 — Camera and mouse input locks up after opening player profile via right-click (same symptom, different trigger; closed)


Reported by Daf
Requested by Flora Gomes (<@U0AN6DV40FQ>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    2-mediumMedium severity issuesWindows OnlyIssue only happens on Windows buildsbugSomething isn't workinggraphicsui

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions