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
- Crash on Umbra::QueryExt::queryStaticShadowCasters when opening a specific project
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a specific project
- Shader variants are recompiled while Building when the Platform is switched and changed back after the first Build
- Crash on memcpy when importing lightmaps after GI bake
- NullReferenceException is thrown when creating the TextMeshPro component and entering the Play Mode without importing TMP Essentials
Add comment