Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2021.2.0b16

2022.1.0a5

2022.1.0a9

Issue ID

1373078

Regression

Yes

Crash with _sigtramp when recreating .mp4 asset using the H264EncoderAttributes on macOS M1 chipset

Video

-

How to reproduce:
1. Open the attached project from "advanced-encoder-options-audioVideoFoundation.zip"
2. Open Scene "SampleScene"
3. In Project Browser delete "test.mp4"
4. Enter Play Mode and exit Play Mode after a couple of seconds
5. In Project Browser right click and choose "Reveal in Finder" to see the test video recreated
6. Click back on the Editor for recompilation to occur and observe the crash

Expected result: "test.mp4" video is reloaded into the Project Browser
Actual result: The Editor crashes

Reproducible with: 2021.2.0b16, 2022.1.0a5
Not reproducible with: 2021.2.0b15, 2022.1.0a4
Couldn't test with: 2019.4.32f1, 2020.3.21f1, 2021.1.27f1 (Error logs for h264 encoder)

First lines of the stack trace:
mono_dump_native_crash_info
mono_handle_native_crash
mono_sigsegv_signal_handler_debug
_sigtramp
_ZL27SimpleMapFilteredRenderProciiiPvS_S_S_S_
_ZL9task_funcPv

Notes:
1. Reproduces only on M1 chipset on macOS
2. If you generate the video away from the "Assets" directory, the crash is no longer reproducible

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a14
    No longer crashes

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.