After player joined server for a while, NUI unable to use.
I have checked about it, declared variables in NUI (javascript) are missing.
Example…
I declared let ITEMS = {} ITEMS.bread = { label: 'Bread', count: 1 }
** bread is inited value from client lua script
After connected to a server 1hr bread is missing in object ITEMS.
I think the system suddenly reload all NUI.
How to fix it? or Do I have to wait the newer update?