Search Issue Tracker
By Design
Votes
1
Found in
4.2.1f2
Issue ID
561106
Regression
No
-e Screen size is always 640x480 when running in batch mode
To Reproduce:
1. Open the project and build the Linux executable.
2. The script attached to the camera will save a screenshot, using the Screen Rect.
3. To run the app, use this command:
./testLinux.x86_64 -batchmode -screen-width 1024 -screen-height 768
4. A screenshot is saved after 30 frames, next to the app binary.
Based on the command line args in the docs, the "1024" and "768" parameters should set up the Screen to be of that resolution : http://docs.unity3d.com/Documentation/Manual/CommandLineArguments.html
BUG: The screenshot is always 640x480.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment