I think initially I had just forgotten to refresh the Spine dependency and the function wasn’t found.
Now this code:
Causes a crash:
Assertion failed: (Capacity() - Size() > 0), function Push, file array.h, line 501.
INFO:CRASH: Successfully wrote Crashdump to file: /Users/niclasaberg/Library/Application Support/Defold/_crash
ERROR:CRASH: CALL STACK:
# 0 pc 0x30bd7d libxpc.dylib _sigtramp+29
I’ve double checked that there is a spine scene with the
I can’t find the gui.set_spine_scene() in the reference anymore, maybe because of the Spine move?
Update: It seems the crash only happens when the node has been cloned.
local node = gui.get_node("character")
local node_to_clone = gui.get_node("character")
local node = gui.clone(node_to_clone)