Unity-Technologies / GenericFrameRecorder

This GitHub package is DEPRECATED. Please get the new Unity Recorder from the Asset Store (https://assetstore.unity.com/packages/essentials/unity-recorder-94079) Use the editor builtin Bug Reporter to report issues. You can track and vote for issues on the Issue Tracker (https://issuetracker.unity3d.com)
MIT License
535 stars 66 forks source link

RenderTexture without Source breaks the UI and crashes the recorder on StartRecording #17

Closed JoelFortin closed 7 years ago

JoelFortin commented 7 years ago

If the ImageGenerator is set to RenderTexture and there is no Source assign to the slot, the Console will start to print error on when we start recording: Exception: No Render Texture object provided as source NullReferenceException: Object reference not set to an instance of an object

The recorder crash, the UI is wipped while in play mode. Once the user stopped the play mode, the UI comes back but the record button is disabled and the label shows "Stop Recording", we have to close the tab and re-open the recorder to have it back to its initial state.

jasonm-unity commented 7 years ago

From recorder window (not timeline), "start recording" button is disabled until config/settings are valid.

in both timeline and recorder window, you now see a warning message when config is incorrect.