Lua.Refs keeps growing (DEF-3841)

Hi there,

it seems to me that each time I fire an animation with a custom easing the value of Lua.Refs shown in the profiler increases by one. Is this fine?

In the attachment a minimal project showing this.

Thanks very much!

defold_luaRef.zip (87.4 KB)

Thanks, I’ll have a look.

1 Like

Reproduced it locally and created DEF-3841 to track this.

I just noticed the same thing, googled it and ended up here. Is the ever-increasing Lua.Refs something to worry about? Is it a leak?

If the refs never go down, I’d suspect a bug. Next question is if it’s in yours or our code.
Please supply a small repro case for it.

@Mathias_Westerdahl

I have checked the minimal repro case I have sent above (13 March) with 1.2.163 and the issue is still there (DEF-3841 @inactive-vilse).

2 Likes

This is the issue: https://github.com/defold/defold/issues/4590

I’ve added it for investigation for 1.2.174

2 Likes