Steps to reproduce:
1. Open the attached project “RenderingIssue“
2. Open the “Assets/Scenes/TreeviewTest.unity“ Scene
3. Click File > Build Settings > Build > “Build“ folder
4. Launch the Player and observe the generated images inside the “export“ folder
5. Exit the Player and launch it in batch mode
6. Observe the generated images inside the “export“ folder
Expected result: Images are identical
Actual result: Images in batch mode are not rendered
Reproducible with: 2021.3.17f1, 2022.2.4f1, 2023.1.0b1, 2023.2.0a1
Couldn’t test with: 2020.3.43f1 (couldn’t resolve console errors)
Note: Images are being generated every 10 seconds and limited to a maximum of 30 images
How to launch the Player in batch mode:
1. Using cmd navigate to “[projectPath]/Build“
2. Execute the following command ”UiToolkit.exe -batchmode”