How to reproduce:
- Open the attached project “bug-openglcore-display.zip”
- Build And Run the project
Reproducible with: 2020.3.43f1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a24
Reproducible on: Windows 10
Not reproducible on: macOS 13.0.1
First few lines of stacktrace:
(UnityPlayer) UnityDisplayManager_SetDisplayParam
(UnityPlayer) Display_CUSTOM_SetParamsImpl
(Mono JIT Code) (wrapper managed-to-native) UnityEngine.Display:SetParamsImpl (intptr,int,int,int,int)
(Mono JIT Code) UnityEngine.Display:SetParams (int,int,int,int)