I am working on a project in Qlik Sense using the Qlik Sense desktop, i have created the charts, data and variables. the file is saved then when I move my application to QMC server, then Import the application into QMC, when I open it through Qlik sense hub I can see all charts, data but all variable gone missing. I have tried to reload the application but all variables are still missing except the ones that are included in the script such as using ; set vMaxYear.
Yes I have my desktop version more recent than the server one, but I have created another application and created a variable to test it, I have moved this new application to Qlik sense server and imported to QMC and the variable shows fine.
Did you create the variables in the script or the front end ?
I always create variables in the script, as I have come across various quirks with front end created variables disappearing - especially when using Source Control on QlikView. Seems like you may have found a similar disappearing quirk of front end created variables in Qlik Sense.
If variables are created in the script, then running the script will recreate them