Copyright © 2026 Unity Technologies
Thank you for your bug report. After reviewing the issue and the impact and risks it has on our users our team has decided that this case will be resolved as "Won't Fix" for 2021.3. This issue has been fixed in 2022.3.13f1 and newer versions so we recommend you upgrade your project to those. This does not mean that the issue isn't a legitimate bug, but instead that we are not able to prioritize the fix, at this time. The case will now be closed, and will not be reopened unless new information arises that would change the issue's impact. Please let us know if you have additional information relating to the severity of this bug.
[NOTE]: The original bug description below mentions using Linux for building the project, but some of the later comments mention that this also happens when building the project on Windows using the same command line flags (batchmode and nographics).
Reproduction steps:
1. Open the attached "BugRepro" project normally, make sure there are no errors in the console
2. Close the Unity Editor
3. Build the attached “BugRepro” project with this command line: /path/to/unity-executable -projectPath /path/to/project/ -quit -batchmode -nographics -executeMethod BuildCommand.PerformBuild
4. Transfer “/Builds/FromBatchmode“ build to a Windows computer
5. Launch the Build
Expected result: A Cube GameObject is visible
Actual result: A Cube GameObject is not visible
Reproducible with: 2021.3.30f1, 2022.3.8f1, 2023.1.11f1, 2023.2.0a4, 2023.2.0b7, 2023.3.0a3
Not reproducible with: 2023.2.0a1, 2023.2.0a3
Reproducible on: Ubuntu 23.04, Windows
Not reproducible on: No other environment tested on
Notes:
Issues you vote on will appear here