hopedream054

I'm using Spine for the widget and I'm getting an error with these reports.

I would like to know why this is happening and how to fix it.

please help... :'(
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
hopedream054
  • Postovi: 3

Mario

Sorry, the log doesn't tell me why the crash happened just where. Can you tell me how to setup a scene to reproduce the error?
Avatar
Mario

Mario
  • Postovi: 3085

hopedream054

This is how I use most Spine.

Spine is being used in blueprints.

Crash when "play" in Unreal Editor.

When running, multiple spine widgets were launched together in the world.
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
hopedream054
  • Postovi: 3

Mario

All of that looks correct. Could you provide me with a simple UE4 project that let's me reproduce the issue?
Avatar
Mario

Mario
  • Postovi: 3085

hopedream054

It seems that due to circumstances it is difficult to provide the project ...

Let me explain the situation in more detail though.

I used a spine with more than one animation in a widget in my vr project.

And to toggle the widget I used the "Set visible" used in the Unreal Blueprint.

And I used a spine with multiple animations inside by creating inventory and widget slots for items that are cleared and spawned frequently.

Crashing like this while "set visible" or "spawn" while using the widget.

There seems to be something wrong with the animation track, so putting the widget with the Spine in front of a clean track seems to cause less crashes.
hopedream054
  • Postovi: 3

Mario

Well, it's impossible for me to help in that case I'm afraid. The crash log tells me that one of the delegates that's being called for a track entry event is invalid. But I can not reproduce this on my end, so I can not know why the delegate becomes invalid and nothing I tried reproduces that issue.
Avatar
Mario

Mario
  • Postovi: 3085

soyagok11

@Mario I encountered this error before but I also failed to reproduce bug, so I postponed report.


Today I saw this topic and I struggled to reproduce error on clean project, and I succeed.


plz check.


  • To reproduce this error on my sample project :


[1] play game (I started by PIE)


[2] click any character on listview, and click 'back' button.


[3] Repeat [2] 10~15 times and crash occurs.


soyagok11
  • Postovi: 15

Mario

Thanks! I've created an issue here: https://github.com/EsotericSoftware/spine-runtimes/issues/2006

This will be hard to track down, as it is not deterministic, so it may take a while.
Avatar
Mario

Mario
  • Postovi: 3085

Mario

I've added some initial observations to the issue on GitHub. Let's continue the discussion there.
Avatar
Mario

Mario
  • Postovi: 3085

Mario

I believe I've found the issue and fixed it. Your repro project does no longer crash. See the GitHub issue for the bug hunt log. Your widget creation code creates a recursive set of widgets, which eventually ends up with super long auto-generated names of objects and materials. Since material names are used as resource names for slate brushes, and since UE4 checks those for a maximum length, the check eventually fails, resulting in a crash.

I've pushed the fix to the 4.0 and 4.1 branches. Please update your Spine UE4 plugin sources and let me know if this fixes your issue in your real project. Thanks for reporting.
Avatar
Mario

Mario
  • Postovi: 3085


Natrag na Bugs