Hey Guys,
I’m working on a an app using composer that displays variables in one scene that are set in other file. Everything is local to that file and passed to each other using
<code>
local myVar = myscene.function(variable)
</code>
It gets the variables and displays them just fine however in composer.hide I nil out the variable to prevent issues for it/when the user returns to the scene so we can display updated data. My issue is that even though the variables are local to their respective file and the nilling out never affects the base variable in one scene, nilling them out sets the other scene to nil and when the user returns to that scene nothing shows as the variable is now nil.
I’ve tried everything I can think of. Renaming variables, functions, etc… The only thing that works in not nilling it out but I’m afraid if I do that theres the option of ‘stale’ or ‘old’ data displaying.
Has anyone experienced anything like this? Does anyone have any advice on what to do?
I’m at my wits end.
Thanks.