LogWindows: Error: === Critical error: ===
LogWindows: Error: Fatal error!
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000
LogWindows: Error: [Callstack] 0x00007ffcf6b11516 VCRUNTIME140.dll!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffc5cbf4557 UE4Editor-SpinePlugin.dll!TMulticastScriptDelegate<FWeakObjectPtr>:rocessMulticastDelegate<UObject>() []
LogWindows: Error: [Callstack] 0x00007ffc5cc439fb UE4Editor-SpinePlugin.dll!callbackWidget() []
LogWindows: Error: [Callstack] 0x00007ffc5cc4d19f UE4Editor-SpinePlugin.dll!spine::EventQueue::drain() []
LogWindows: Error: [Callstack] 0x00007ffc5cc3bcc5 UE4Editor-SpinePlugin.dll!spine::AnimationState::apply() []
LogWindows: Error: [Callstack] 0x00007ffc5cc30906 UE4Editor-SpinePlugin.dll!USpineWidget::Tick() []
LogWindows: Error: [Callstack] 0x00007ffc5cc8ad57 UE4Editor-SpinePlugin.dll!USpineWidget::execTick() []
LogWindows: Error: [Callstack] 0x00007ffccdc5ef64 UE4Editor-CoreUObject.dll!UFunction::Invoke() []
会在UE4编辑器内出现,运行游戏时偶发引发编辑器崩溃。已经有多次出现,但是出现的情况随机,并未发现特定原因引发该崩溃。
Spine4.2最新版插件在UE4.27偶发的Crash
The crash you are experiencing with the Spine 4.2 plugin in UE4.27 seems to be related to an access violation error, which is often caused by attempting to read or write to a null or invalid memory address. This type of error can be difficult to diagnose, especially if it occurs randomly. Based on similar issues discussed in the context, it is recommended to ensure that your Spine runtime and UE4 plugin are up-to-date with the latest versions. Additionally, check if there are any specific steps or conditions that consistently lead to the crash, as this information can be crucial for troubleshooting. If the problem persists, consider reviewing the Spine runtime documentation for any known issues or updates that might address this behavior.
Spinebot You said nothing
PatrolCat Sorry to hear about the crashes. Unfortunately, in many cases the UE error logs are not detailed enough to pinpoint the cause, so could you please provide a minimal UE project that can reproduce the problem via email?: contact@esotericsoftware.com
Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.
Misaki My question is very similar to the following topic: USpineWidget triggers fatal errors
You mentioned a minimal example project, but I'm sorry, I'm currently too busy to work on it. However, I encountered an issue with your latest SpineUE4 example project. When I tried to open it in UE4.27, it seemed that many map resources were missing, and it couldn't run properly at all. No Spine elements appeared. Could you please check this problem?
The sample project requires UE 5.5 as of yesterday. It's sadly impossible to keep the example project working with all UE versions we support. That said, the plugin itself works with UE 4.27 too. There's not much reason to use UE 4.27 anymore though.
出现这个问题崩溃,是因为UTrackEntry和TrackEntry指针互相引用,但在销毁/回收UTrackEntry和TrackEntry指针时,没有正确处理解除引用,导致野指针!
因为UE使用垃圾回收,不是立刻销毁对象,而TrackEntry是立刻释放内存,spine的代码写的比较混乱,导致了在一些情况下,没有正确的解除指针引用。
因为要修正这个bug,对源码改动比较多,同时也改动了spine-cpp的源码,所以没有提交修改的代码。
但我在论坛里说了这个bug,视乎spine官方没有重视,因为这是UE特有的bug。