ML2 Brightness Issue: Stuck at Minimum After Using Global Dimming in Unity App

Unity Editor version: 2022.3
ML2 OS version: 1.8
Unity SDK version: 2.5.0
Host OS: Windows

ML2 Brightness Issue: Stuck at Minimum After Using Global Dimming App

Issue

Magic Leap 2 display stuck at minimum brightness after using an app with global dimming editing enabled. Cannot adjust brightness from settings menu afterward and restart will not resolve this.

Reproduction Steps

  1. Open app with global dimming editing
  2. Close app
  3. Brightness remains at minimum and unresponsive to adjustments

Testing Done

  • Occurs at various battery levels (100%, 50%, 30%)
  • Tried adaptive brightness, dimming settings, power saving settings
  • UI shows brightness slider movement but no brightness change

Gathered more details:
When you change the global dimming in the Unity app using ML2 API and then close it, the headset screen brightness goes to 1. You can’t fix this by adjusting brightness in Magic Leap 2 settings, and restarting doesn’t help. While the system says the brightness is at the level you set, the actual screen stays at value 1.
And ADB still reports the brightness value matching what’s shown in the ML2 settings slider and is unable to change the brightness.

How can I adjust the brightness at runtime? or set it to always be 100%?

In the Magic Leap 2’s Display settings, can you verify that your Display Mode is set to None?

In Magic Leap 2 settings:
Display Modes (Preview) = None

Does your app use OpenXR? I tested this on my device and was not able to reproduce this.

  1. Open Settings and verify that the display settings are as follows
  • Display Override = False (optional)
  • Display Mode = None
  • Auto Brightness = False
  • Screen Brightness set to 100
  1. Open an app that allows you to increase / decrease global dimming

  2. Exit the application and enter the Display settings again.

  • Verify that brightness can be adjusted.

You can also adjust the display settings from the home menu by pressing the circular icon on the left hand side of the menu

I’m using OpenXR and have applied those settings above.

After testing, I’ve noticed that this issue doesn’t occur every time.

I had previously removed the global dimming functionality from the application. Yesterday, the brightness was set to 1 from 100 multiple times (without doing anything special) when trying to use the glasses. While unconvinient, restarting resolved the issue.

This problem has now happened twice just while I was in the Magic Leap menu, without opening any other applications.

When this happens, the brightness adjuster on the left side doesn’t work at all, becoming dysfunctional when the brightness randomly drops to 1.

Is there anything you suggest?

I have reported that you are experiencing this to our voice of customer team however we have not been able to reproduce the issue. When the slider is not functional, are you referring to the quick setting in the home menu or the setting inside of the Display Settings within the Settings application. We will keep an eye out on this and see if we will be able to reproduce it.

I wonder if this is the device trying to reduce brightness to avoid overheating? Nevertheless, we will try to track it down. Let me know if you find a way to more consistently reproduce the issue.

Thank you, I was also not able to reproduce it, and now it seems to happen randomly.

I am referring to both the quick settings and the settings application - both have dysfunctional sliders after it glitches.

Perhaps it’s detecting something that isn’t there. We are now using it between temperatures of 32-68 degrees Fahrenheit and no overheating has been detected.