I'm having trouble with some context variables that don't appear on a form when first accessed. When I return to the previous screen and click on the button to access the form again, all the variables are accessible. The missing variables are drop down values that are passed as context variables in the navigate function. It works fine when testing in powerapps studio but not when accessing the published version.
First time form is accessed
Second time form is accessed
I've tried various methods to get around this including setting the missing data as global variables but they are not accessible either. The global variables are in the bottom left corner. I've even tried to set context variables OnVisible from the global variables (which to exist) for the form screen but they don't work either.