Defold 1.2.183 has been released

You broke sprite.play_flipbook. Completion callback function not called.

3 Likes

What, really? I’m surprised this hasn’t been caught during the two week public beta or in our tests… We’ll look into this tomorrow and issue a new release as soon as possible.

2 Likes

Yep, it looks like the callback isn’t triggered. Instead the script is getting the old “animation_done” message.

6 Likes

I’m on it. I’d expect a new release within a few hours.

11 Likes

Defold team :clap:

7 Likes

I updated before reading above :confused: Can only confirm the issue is there and it’s breaking the game, hope you’ll manage to get it fixed! :wink: Keeping my fingers crossed!

3 Likes

I just verified the new editor update (sha: 7e7ab0f78048390f41d187fb60d1553297a67e5f) and the fix seems to be working ok.

Which version do you use @Pawel ?

4 Likes

I was using 1.2.183 at the time of writing it (7e52cad684aef13617ea5b02bbe7ca1b357f2a81).
New version (7e7ab0f78048390f41d187fb60d1553297a67e5f) is working fine! :smiley:
Thank you! :heart:

4 Likes

I updated to

editor: da6cc3df5acb2c63217572b5ba7f94d9e3c98b18
engine: 7e7ab0f78048390f41d187fb60d1553297a67e5f

and the game now crashes on mac. Here is the crash report.

_crash.zip (2.0 KB)

1 Like

Yeah. I got a similar crash on both macOS and Windows. I made Github issues.

2 Likes

Thanks to @dapetcu21 I’ve been able to pinpoint the issue, and we should have a new release in a few hours.

8 Likes

There is now a new build available (engine sha1: f77b7f655a0ba68462f6c33604bed7000018735f)

@roccosaienz @dapetcu21

3 Likes

I have quickly tested this and it seems working for me! Thanks!

2 Likes

The “spine_event” message has stopped working.

Скриншот 2021-06-12 00.40.54

I can’t remember exactly on which version it stopped working, but on 180 it definitely did.

1 Like

This should have been fixed in this hot-fix release:

Are you using the latest version @morgerion ?

I think it wasn’t. This is another use case (which also didn’t have a unit test)

I couldn’t reproduce it myself unfortunately.
Looking at the output, it seems to be related to having unloaded the script where the on_message function is residing.
I.e. we’re posting an event, then the script is unloaded, then we’re flushing the events and we’re trying to call the on_message function.

Previously, we had a function reference inside the url struct, which was always a huge technical debt.
We recently removed that function reference, in favor for eventually having sub component addressing (e.g. setting properties on particle emitters etc).

I really wouldn’t want to readd that technical debt, and figuring out a different approach how to keep the lua references around in these seems also a bit tricky (and not really desireable).

I’m wondering about your particular use case: Does it cause trouble, or is it that the warning is counter productive?

2 Likes

Specifically in our case, the text inside the animation of the intro is attached to these events. We can implement text binding in a different way.

1 Like

When changing the layout, the layout_changed message is not delivered. In the console when changing the Layout: WARNING: GUI: Failed to call message response callback function, has it been deleted?

2 Likes

Thanks!
A fix will be available in the next release! (we’re releasing a new beta tomorrow)

2 Likes