irajsb / UE_CaptureSubsystem

Runtime video and screenshot capture system for Unreal Engine
MIT License
95 stars 18 forks source link

Crash when capturing in UE5.4 #16

Closed AkiraEndokk closed 1 month ago

AkiraEndokk commented 2 months ago

Hi, when I used this in my project and start to run the level, it crashed with those:

LoginId:d6f974fa45e204efe1382590554a69bc EpicAccountId:264e07b68945470f9913395fffd667fc

Assertion failed: SharedThis.Get() == this [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 1591]

UnrealEditor_AudioMixer UnrealEditor_AudioMixer UnrealEditor_AudioMixer UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_AudioMixer UnrealEditor_CaptureSubsystem!UCaptureSubsystemDirector::Begin_Receive_AudioData() [D:\CesiumAir\Plugins\CaptureSubsystem\Source\CaptureSubsystem\Private\CaptureSubsystemDirector.cpp:99] UnrealEditor_CaptureSubsystem!UCaptureSubsystemDirector::Initialize_Director() [D:\CesiumAir\Plugins\CaptureSubsystem\Source\CaptureSubsystem\Private\CaptureSubsystemDirector.cpp:182] UnrealEditor_CaptureSubsystem!UVideoCaptureSubsystem::StartCapture() [D:\CesiumAir\Plugins\CaptureSubsystem\Source\CaptureSubsystem\Private\VideoCaptureSubsystem.cpp:44] UnrealEditor_CaptureSubsystem!UVideoCaptureSubsystem::execStartCapture() [D:\CesiumAir\Plugins\CaptureSubsystem\Intermediate\Build\Win64\UnrealEditor\Inc\CaptureSubsystem\UHT\VideoCaptureSubsystem.gen.cpp:440] UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor kernel32 ntdll

When I moved the usage of this out of the Blueprint, the level worked fine. Thank you.

AkiraEndokk commented 2 months ago
屏幕截图 2024-09-01 013448

this is the part about capturing process in my level blueprintess ,I start capturing when the actor moving ,and stop capturing when it arrives in the right place.