Disable object with spine animation (win only) (DEF-2220)

I found very strange bug. It reproduced only on windows.

When I disabled objects with spine animation - gameobject.update takes too many frame time.

Spawn GO with spine animations only:

msg.post(object, "disable")

code:

local personages = {}

local function create_pers(self, position)
  
 
  table.insert(personages, factory.create("#pers1_factory", position))
 
end

function init(self)
	for i=1,10 do
		create_pers(self, vmath.vector3(math.random(0,640),math.random(0,360),0))
	end
	msg.post(".","acquire_input_focus")
end

function on_input(self, action_id, action)
	if action_id == hash("click") then
		for i=1,10 do
			msg.post(personages[i], "disable")
		end
	end
	
	if action_id == hash("no_click") then
		for i=1,10 do
			msg.post(personages[i], "enable")
		end
	end
end

I have a test project.

1 Like

Wow! This is something for @sven I think.

Hi!
I have seen this reported internally here and updated the topic with the issue id.

Quick question, are you experiencing this on Windows? Does this happen to you on other platforms?

1 Like

no, I tried to reproduce it on ios, android and macos. And this bug is reproduced only on Windows

2 Likes

Great, thanks for the update!

2 Likes