Reproduction steps:
1. Open the attached "FAV_repro_IN-47959.zip" project
2. Enter the Play Mode
3. Notice that the console UI is present in the bottom left corner
4. Exit the Play Mode
5. Go to the Build Settings
6. Make sure the Platform is "Windows, Mac, Linux", the Target Platform is "Windows", and the Architecture is "Intel 64-bit", then press "Build And Run"
7. Create a folder for the build and confirm
8. Observe the Player
Expected result: The console UI is present in the bottom left corner
Actual result: The console UI is present in the bottom left corner, but it is displayed incorrectly and shows the "Trying to add Close (UnityEngine.UI.Image) for graphic rebuild while we are already inside a graphic rebuild loop. This is not supported." error
Reproduced with: 2022.3.3f1, 2022.3.4f1
Not reproduced with: 2021.3.28f1, 2022.3.2f1, 2023.1.5f1, 2023.2.0b1
Fixed in: 2022.3.5f1
Reproduced on: Windows 10
Not reproduced on: macOS 12, Ubuntu 20.04
Note: The bug only reproduces in the Windows 64-bit Player