What’s the issue?
running the app written in lua for a while, then come out the error [LUA ERROR] function refid ‘%d’ does not reference a Lua function, function calling fails.
What’s the engine version?
How to reproduce it?
when enter a layer, register a function as a callback function for a button, then add the button to layer, when exit the layer, delete the layer. after operating enter and exit the layer several times the error comes out.
is it because my engine version is too old? and it is fixed in later ones.
or because when exit the layer, only delete the layer is not enough?