Skip to content

[macOS] Crash on Mac with AVPro in World Space #2429

@Bakajiwana

Description

@Bakajiwana

Unity version

6000.3.5f2

Unity editor platform

macOS

AVPro Video edition

Ultra

AVPro Video version

3.3.3

Device hardware

Macbook Air M2

Which macOS version are you using?

26.3

Texture format

BGRA

Audio output

Unity

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

Display uGUI

Any other component configuration required to reproduce the issue.

I've got the Media Player outputting to a DisplayUGUI, with the canvas in World Space.

The issue

Hi, I've been experiencing a frequent crash when testing my game on Mac, and the player log's showing that it's coming from AVPro. It mentions something to do with audio, but I couldn't find any combo of settings that would resolve the crash while still fitting what I need for my game. Any chance you could take a look?

I don't seem to be getting the crash on Windows, thankfully. Just seems to be a Mac thing, but as it's causing my game to crash it's a bit of a critical issue.

Media information

I've mostly been using mp4 files for testing. The crash seems to happen with all of them.

Log output

=================================================================	
Native Crash Reporting
=================================================================

Got a segv while executing native code. This usually indicatesa fatal error in the mono runtime or one of the native librariesused by your application.


==================================================================================================================================	
Native stacktrace:
=================================================================	
0x11a67138c - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : monovm_shutdown	
0x11a63360c - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_unity_backtrace_from_context	
0x11a5bbd60 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_jit_set_domain	
0x1899a3744 - /usr/lib/system/libsystem_platform.dylib : _sigtramp	
0x19d32d08c - /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox : _ZN2AQ3API6V2Impl37AudioQueueProcessingTapGetSourceAudioEP29OpaqueAudioQueueProcessingTapjP14AudioTimeStampPjS6_P15AudioBufferList	
0x19ca22c98 - /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox : FigAssetWriterCreateWithURL	
0x135c2ece8 - /Applications/Radio Silence.app/Contents/PlugIns/AVProVideo.bundle/Contents/MacOS/AVProVideo : AVPPlayerGetCachedMediaStatusForURL	
0x19c5f0e28 - /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox : MTAudioProcessingTapGetStreamMediaTimeRange	
0x19d3479b4 - /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox : _ZN5caulk12thread_proxyINSt3__15tupleIJNS_6thread10attributesEZN2AQ3API20ProcessingTapManager7RTStateC1ERKN10applesauce3xpc6objectERNS6_23ProcessingTapAttributesERiE3$_0NS2_IJEEEEEEEEPvSK_	0x189999c08 - /usr/lib/system/libsystem_pthread.dylib : _pthread_start	0x189994ba8 - /usr/lib/system/libsystem_pthread.dylib : thread_start

=================================================================	
Telemetry Dumper:
=================================================================
Thread 0x17237b000 may have been prematurely finalized* Assertion at mono-threads.c:702, condition `info' not met, function:mono_thread_info_current,

An error has occured in the native fault reporting. Some diagnostic information will be unavailable.

=================================================================	
Native stacktrace:
=================================================================	
0x11a67138c - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : monovm_shutdown	
0x11a7c9610 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : monoeg_assertion_message	0x11a7bd4e4 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_thread_info_current_unchecked	
0x11a7bebf8 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_thread_info_set_flags	0x11a766684 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_threads_detach_coop	
0x11a6715d4 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : monovm_shutdown	0x11a63360c - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_unity_backtrace_from_context	
0x11a5bbd60 - /Applications/Radio Silence.app/Contents/Frameworks/libmonobdwgc-2.0.dylib : mono_jit_set_domain	0x1899a3744 - /usr/lib/system/libsystem_platform.dylib : _sigtramp	
0x19d32d08c - /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox : _ZN2AQ3API6V2Impl37AudioQueueProcessingTapGetSourceAudioEP29OpaqueAudioQueueProcessingTapjP14AudioTimeStampPjS6_P15AudioBufferList	
0x19ca22c98 - /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox : FigAssetWriterCreateWithURL	
0x135c2ece8 - /Applications/Radio Silence.app/Contents/PlugIns/AVProVideo.bundle/Contents/MacOS/AVProVideo : AVPPlayerGetCachedMediaStatusForURL	
0x19c5f0e28 - /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox : MTAudioProcessingTapGetStreamMediaTimeRange	
0x19d3479b4 - /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox : _ZN5caulk12thread_proxyINSt3__15tupleIJNS_6thread10attributesEZN2AQ3API20ProcessingTapManager7RTStateC1ERKN10applesauce3xpc6objectERNS6_23ProcessingTapAttributesERiE3$_0NS2_IJEEEEEEEEPvSK_	
0x189999c08 - /usr/lib/system/libsystem_pthread.dylib : _pthread_start	
0x189994ba8 - /usr/lib/system/libsystem_pthread.dylib : thread_start

=================================================================	
External Debugger Dump:
=================================================================

Exiting early due to double fault.

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already existsmacOSmacOS platform

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions