visionOS: Window Dimming After Exiting Immersive Mode

In my visionOS app, which starts in windowed mode, when I enter immersive mode and then exit back to windowed mode, I notice that the window appears dimmer. I start a simple project with settings as image shown below, and took screenShots of my window before and after entering immersive space then quit, compare them, the color value did become dimmer. How can I fix this issue? Or operations I may miss leading to this situation?

Answered by Vision Pro Engineer in 822048022

Hi @windowresized:

Unfortunately I'm unable to reproduce this issue using the Xcode project template with the settings you specified. The brightness of the shared space before selecting "Show Immersive Space" matches it after tapping "Hide Immersive Space."

I'd greatly appreciate it if you could open a bug report, including the following:

  • Sample project that illustrates the issue.
  • Xcode version.
  • visionOS version.
  • Whether this was observed on device, or in the Simulator.

Bug Reporting: How and Why? has tips on creating your bug report. Once you open the bug report, please post the FB number here for reference.

Thanks, Steve

Accepted Answer

Hi @windowresized:

Unfortunately I'm unable to reproduce this issue using the Xcode project template with the settings you specified. The brightness of the shared space before selecting "Show Immersive Space" matches it after tapping "Hide Immersive Space."

I'd greatly appreciate it if you could open a bug report, including the following:

  • Sample project that illustrates the issue.
  • Xcode version.
  • visionOS version.
  • Whether this was observed on device, or in the Simulator.

Bug Reporting: How and Why? has tips on creating your bug report. Once you open the bug report, please post the FB number here for reference.

Thanks, Steve

Using the visionOS2.2.before entering: entered then exit: after exit, adjust in setting, drag to maximum then to original place:

The issue is reliably repeatable in a given room but only occurs occasionally in another room. If this issue is experienced, adjusting the display brightness to the maximum value and then back to the initial setting will restore the colors to the correct state. Force to exit the app then reopen it can do the same restoration.

visionOS: Window Dimming After Exiting Immersive Mode
 
 
Q