Run in the Unity project no problem, released an error
Problems should be out in the Bitmap. The Save (stream, ImageFormat. Jpeg);
CodePudding user response:
The error was good positioning of the oh, haven't assign a reference value initialized directly, really bad machine power will add a log, be clear at a glanceCodePudding user response:
There are only a few objects, Bitmap, data stream, the code can only be Bitmap has a chance to null