AleDel/Spout-UE4

Unreal project with Spout texture crashes Editor when run a second time in viewport

Closed this issue · 2 comments

This blueprint...

tmp_spout_bp

...crashes Unreal when you run it a second time. I think something isn't being cleaned up properly.

All of these booleans...

tmp_spout_bp2

...seem to be true even through the crash:

[2016.07.15-01.17.12:393][ 54]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:430][ 55]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:481][ 56]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:525][ 57]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:567][ 58]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:607][ 59]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:646][ 60]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:688][ 61]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:732][ 62]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:774][ 63]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:813][ 64]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:855][ 65]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.17.12:894][ 66]LogBlueprintUserMessages: Early EndPlayMap Detection: Level '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap' with GeneratedClass '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap_C' with ClassGeneratedBy '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap'
[2016.07.15-01.17.12:961][ 66]LogBlueprintUserMessages: Late EndPlayMap Detection: Level '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap' with GeneratedClass '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap_C' with ClassGeneratedBy '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap'
[2016.07.15-01.45.10:223][311]LogBlueprintUserMessages: Early PlayInEditor Detection: Level '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap' with GeneratedClass '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap_C' with ClassGeneratedBy '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap'
[2016.07.15-01.45.10:223][311]LogPlayLevel: PlayLevel: No blueprints needed recompiling
[2016.07.15-01.45.10:223][311]PIE: New page: PIE session: FirstPersonExampleMap (Jul 14, 2016, 10:45:10 AM)
[2016.07.15-01.45.10:223][311]LogPlayLevel: Creating play world package: /Game/FirstPersonBP/Maps/UEDPIE_0_FirstPersonExampleMap
[2016.07.15-01.45.10:252][311]LogPlayLevel: PIE: StaticDuplicateObject took: (0.028847s)
[2016.07.15-01.45.10:253][311]LogAIModule: Creating AISystem for world FirstPersonExampleMap
[2016.07.15-01.45.10:253][311]LogPlayLevel: PIE: World Init took: (0.000958s)
[2016.07.15-01.45.10:253][311]LogPlayLevel: PIE: Created PIE world by copying editor world from /Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap to /Game/FirstPersonBP/Maps/UEDPIE_0_FirstPersonExampleMap.FirstPersonExampleMap (0.030262s)
[2016.07.15-01.45.10:279][311]LogInit: XAudio2 using 'Headphone (Realtek High Definition Audio)' : 2 channels at 48 kHz using 32 bits per sample (channel mask 0x3)
[2016.07.15-01.45.10:293][311]LogInit: FAudioDevice initialized.
[2016.07.15-01.45.10:344][311]LogWorld: Game class is 'FirstPersonGameMode_C'
[2016.07.15-01.45.10:350][311]LogWorld: Bringing World /Game/FirstPersonBP/Maps/UEDPIE_0_FirstPersonExampleMap.FirstPersonExampleMap up for play (max tick rate 60) at 2016.07.14-18.45.10
[2016.07.15-01.45.10:351][311]LogWorld: Bringing up level for play took: 0.006779
[2016.07.15-01.45.10:351][311]LogGameMode: Warning - PATHS NOT DEFINED or NO PLAYERSTART with positive rating
[2016.07.15-01.45.10:352][311]PIE: Info Play in editor start time for /Game/FirstPersonBP/Maps/UEDPIE_0_FirstPersonExampleMap 0.045
[2016.07.15-01.45.10:352][311]LogBlueprintUserMessages: Late PlayInEditor Detection: Level '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel' has LevelScriptBlueprint '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap' with GeneratedClass '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap_C' with ClassGeneratedBy '/Game/FirstPersonBP/Maps/FirstPersonExampleMap.FirstPersonExampleMap:PersistentLevel.FirstPersonExampleMap'
[2016.07.15-01.45.10:354][311]LogBlueprintUserMessages: [SpoutActor_125] Spout "unrealtv".Spout Info From: true,unrealtvtrue,Spout Receiver: true
[2016.07.15-01.45.10:354][311]LogUObjectBase:Warning: Object is not registered
[2016.07.15-01.45.10:354][311]LogOutputDevice:Warning: 

Script Stack:
SpoutActor_C.ExecuteUbergraph_SpoutActor
SpoutActor_C.ReceiveTick

[2016.07.15-01.45.10:354][311]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2016.07.15-01.45.10:734][311]LogCrashTracker: 


[2016.07.15-01.45.10:734][311]LogCrashTracker: 


[2016.07.15-01.45.10:735][311]LogWindows:Error: === Critical error: ===
Assertion failed: !ReturnPhysMaterial || ReturnPhysMaterial->IsValidLowLevel() [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Engine\Private\PhysicsEngine\BodyInstance.cpp] [Line: 3274] 





[2016.07.15-01.45.10:769][311]LogExit: Executing StaticShutdownAfterError
[2016.07.15-01.45.10:773][311]LogWindows: FPlatformMisc::RequestExit(1)
[2016.07.15-01.45.10:773][311]Log file closed, 07/14/16 18:45:10

Windows 7, 64bit. UE 12.5

try use close sender node

That fixed the crash at least.