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

Linux

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.