Question About Ambient Light Sensor Range on Magic Leap 2

Give us as much detail as possible regarding the issue you’re experiencing:

Unity Editor version: 2022.3.56f1
ML2 OS version: v1.12.0
Unity SDK version: 2.6.0
Host OS: Windows

Error messages from logs (syntax-highlighting is supported via Markdown):
I understand that the Magic Leap 2 device supports ambient light measurements in the range of 5 lux (low) to 1,000 lux (high). I have also read a note stating that it is intended for indoor use only, so I assumed the maximum value would be capped at 1,000 lux.

I based my Unity code on the official documentation—I used the Unity Input System to enable and read the LightSensor.current.lightLevel value in lux, following the sample code from the Magic Leap Android Sensors guide.

However, when I printed the sensor readings, I observed different results. For example, when pointing at a fluorescent light in a home environment, I often see values around 2,000 lux, and sometimes even between 3,000 and 5,000 lux. When I shine my phone’s flashlight at it, I can get readings up to 10,000 lux.

Since the documentation says the sensor supports up to 1,000 lux, I’d like to know:

  1. Is the sensor actually capable of outputting values up to 10,000 lux?

  2. Could you share the exact model or type of ambient light sensor used in the Magic Leap 2?

Thank you in advance for your help.

Hey @JunsuSong ,

Currently, Magic Leap does not publish the lux range of the ambient light sensor hardware.
The 5-1000 lux value you are referring to is the recommended indoor operating range of the Magic Leap device to reduce any issues stemming from the users environment.

I’ll look into seeing if I can find and share a range of values for you, but in the meantime, just know that you can get a wider range than 5-1000 lux from the sensor.

Best,
Corey