Mobile HDR problem - Black screen (sensor orientation + constraint aspect ratio enabled)


I need my game to use sensor orientation to switch from landscape to portrait mode mantaining the aspect ratio 1.7778.

It works perfectly fine with “Constraint Aspect Ratio” enabled (in the camera) and Mobile HDR Disabled (in project settings). Just as it comes with the 3D Sidescroller example.

But, if I enable the Mobile HDR and keep the camera’s “Constraint Aspect Ratio” enabled, I get a black screen (only widgets appear).

Any ideas if it’s possible (and how) to keep the “horizontal aspect ratio”, “sensor orientation” and “Mobile HDR” working together?


Is it possible to be device specific issue. Did you test this on other device? I had same issue with Mobile HDR disabled on an old Sony SP device.

Good luck.