- 編集済み
Spine crashes UE4 Editor after indefinite amount of time
Running UE4 4.15.3, and Spine 3.6 (also 3.5, this crash is why I updated to 3.6, but the crash persisted), I get an editor crash after an indefinite amount of time (sometimes a few seconds, sometimes a few minutes) of running a map with a spine object in the scene animating (the powerup example provided by spine). Here is the stack trace of the crash:
Access violation - code c0000005 (first/second chance not available)
UE4Editor_SpinePlugin_Win64_DebugGame!TArray<TScriptDelegate<FWeakObjectPtr>,TInlineAllocator<4,FDefaultAllocator> >::CopyToEmpty<TScriptDelegate<FWeakObjectPtr> >() [d:\program files\epic games\ue_4.15\engine\source\runtime\core\public\containers\array.h:2305]
UE4Editor_SpinePlugin_Win64_DebugGame!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>() [d:\program files\epic games\ue_4.15\engine\source\runtime\core\public\uobject\scriptdelegates.h:457]
UE4Editor_SpinePlugin_Win64_DebugGame!callback() [e:\code\unreal projects\blank1 4.10\plugins\spineplugin\source\spineplugin\private\spineskeletonanimationcomponent.cpp:62]
UE4Editor_SpinePlugin_Win64_DebugGame!_spEventQueue_drain() [e:\code\unreal projects\blank1 4.10\plugins\spineplugin\source\spineplugin\public\spine-c\src\spine\animationstate.c:160]
UE4Editor_SpinePlugin_Win64_DebugGame!spAnimationState_apply() [e:\code\unreal projects\blank1 4.10\plugins\spineplugin\source\spineplugin\public\spine-c\src\spine\animationstate.c:390]
UE4Editor_SpinePlugin_Win64_DebugGame!USpineSkeletonAnimationComponent::InternalTick() [e:\code\unreal projects\blank1 4.10\plugins\spineplugin\source\spineplugin\private\spineskeletonanimationcomponent.cpp:99]
UE4Editor_SpinePlugin_Win64_DebugGame!USpineSkeletonAnimationComponent::TickComponent() [e:\code\unreal projects\blank1 4.10\plugins\spineplugin\source\spineplugin\private\spineskeletonanimationcomponent.cpp:91]
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Core
UE4Editor_Core
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
oh more info. the line that it breaks on is:
ConstructItems<ElementType>(GetData(), OtherData, OtherNum);
where "OtherData" seems suspect:
Hm, I tried to reproduce this with the sample projects, but got no crash (UE 4.16.1, latest Spine Runtime from 3.6 branch). Could you provide me with a small project the reproduces the issue? Do you have a Blueprints or C++ handler registered to receive animation events?
sorry for going silent. Because of this crash, I decided to work on other things. On return to this issue, the crash seems to have disappeared. I'm not sure what has changed (I didn't change anything as far as I can tell). Maybe updating Unreal Engine or Spine has resolved it. Regardless, this doesn't seem to exist anymore. Thanks for the reply.
Thanks for getting back to me!