Search Issue Tracker
Won't Fix
Votes
5
Found in
5.3.1f1
Issue ID
757597
Regression
No
[Batchmode] If project is run in batchmode Unity doesn't render to Texture2D.ReadPixels
How to reproduce:
1. Open the attached project
2. Build and run Main scene
3. This test will save some frames to file (frames/*.jpg) for 2 seconds (You can find it in the folder of the build)
4. Notice that cube in a blue background is saved
5. Open cmd and run the same build using -batchmode flag
6. Open Frames folder to check saved .jpg files
7. Notice that they are all grey
Wont' Fix: batchmode do not do ANY rendering (on purpose)
Comments (1)
Add comment
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 JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
RageKit
Jun 25, 2016 03:26
Having the possibility to take screenshot in batchmode would be great to make graphic bots in unity !