Search Issue Tracker
Fixed
Fixed in 4.0.1, 5.0.0-pre.1
Votes
0
Found in [Package]
3.0.3
Issue ID
REC-1012
Regression
No
Refuse recordings with audio if project audio has more than 2 channels
Reproduction Steps:
- Set the project audio settings to 5.1 (Project Settings > Audio > Default Speaker Mode > Surround 5.1)
- Create dummy Timeline in a scene and add an Audio Track in it
- In the Recorder window, create a new Movie recorder.
- Ensure Capture > Include Audio is ticked
- Ensure you have H.264 MP4 selected in Format > Media File Format
- Start a normal manual recording (Recording Mode : Manual)
Observed: The recorder stop with 3 errors in the console (see below)
Expected: No error in the console or prevent user to record with settings that are not compatible
Reproduced on:
- Recorder {{3.0.3}}
- Unity {{2021.2.1f1}} (I don't want to install {{{}2019.x{}}})
- Windows
Console errors:
{noformat}
WindowsVideoMedia error 0xc00d36b4 while reading C:\Sandbox\Unity Projects\local_21.3\Recordings\movie_002.mp4Context: IMFSinkWriter::SetInputMediaType (audio, some AAC parameters may be unsupported)
Error details: The data specified for the media type is invalid, inconsistent, or not supported by this object.
Track types:
Audio Track, type: AAC{noformat}
{noformat}
Error in VideoMediaEncoder::Create create and setting attributes in C:\Sandbox\Unity Projects\local_21.3\Recordings\movie_002.mp4.
{noformat}
{noformat}
[MovieRecorder: Movie] Recording failed. Unable to create encoder: 'MediaEncoder: Output file creation failed for C:\Sandbox\Unity Projects\local_21.3\Recordings\movie_002.mp4'
UnityEditor.EditorApplication:Internal_CallUpdateFunctions (){noformat}
Suggestions for a solution:
- Add a warning
- Force a max of 2 channels
- (implement) multi channel audio ?
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Add comment