Resource.set_texture example code crashes [FIXED]

Running the example code from Defold API ref here results in a crash.

I’ve tried an old project of mine that used to work but now crashes when running similar code.

Crash occurs on the final line of the example when calling resource.set_texture

_crash.dmp.txt (117.2 KB)
_crash.txt (50.0 KB)

2 Likes

Thanks for the report!
I’m working on it right now.
In the meantime, I recommend using version 1.3.3.

2 Likes

We have a fix building now, will make an updated release as soon as it has built on CI.

3 Likes

Thank you!

2 Likes

The latest release should now be working again (engine sha1: 80b1b73fd9cdbd4682c2583403fddfbaf0919107)

3 Likes