- Home /
Unity Android secondary display not showing Display.displays.length is always 1
Hello all,
I am trying to show second camera output on another Android's display. I have a custom Android 10 device with two custom displays connected . Running the below ADB command, shows two displays but in Unity "Display.displays.Length" is always 1
ADB Command:
adb shell dumpsys SurfaceFlinger --display-id
Output:
Display 19260411 (HWC display 0): port=129 pnpId=QCM displayName="Lvideo m"
Display 19260987 (HWC display 1): port=130 pnpId=QCM displayName="Rvideo m"
The below ADB command also shows 2 displays with even more details
adb shell dumpsys display
What I have tried: https://docs.unity3d.com/Manual/MultiDisplay.html https://docs.unity3d.com/ScriptReference/Display.html https://docs.unity3d.com/ScriptReference/Display.Activate.html Almost everything, Unity 2018, 2019, 2020 LTS versions
Can anyone help? Thanks in Advance
Your answer
Follow this Question
Related Questions
No resolution change in dual display mode 0 Answers
Is it possible to switch monitor on a Mac? 0 Answers
1 camera 2 screen 0 Answers
Mutli Display doesnt update? 0 Answers
Multi-display with 16 displays 1 Answer