I’ve solved this problem on my own.
What I did is:
I tried to reproduce this problem with the minimal amount of source code, then I successfully reproduced with this code.
--reproduce1.script attached to reproduce1.go
event = require("/main/reproduce/reproduce")
function init(self)
local co = coroutine.create(
function()
event.move("/reproduce_2",2)
end
)
coroutine.resume(co)
go.delete()
end
--/main/reproduce/reproduce.lua
event = {}
function event.move(target,_duration)
print("Event_move")
go.animate(target,"position.x",go.PLAYBACK_ONCE_FORWARD,10,go.EASING_LINEAR,1,0,function() print("Reproduce") end)
coroutine.yield()
end
return event
and this problem is the same thing with this post
thanks for helping and sorry for timewasting.