Removing Dataverse connector breaks a collection and some variables
I am developing an app for offline use, and it was originally connected to some Dataverse tables. I have removed all connections to those tables, but when I reload the app in the designer, a lot of my collection and variable functions are broken and giving me error messages about things that work perfectly fine in the old versions that are still connected.
What's more confounding is that this is only happening with one of my three main collections. The others are seemingly fine.
"We can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app." This is from trying to Set two number variables (longitude and latitude) that are set in multiple other places. I have no idea what it thinks is wrong here.
"Invalid argument type (Error). Expecting a table value instead." / "The function 'Clear' has some invalid arguments". From trying to clear a collection that is defined elsewhere. If I type out a dummy Collect function, first, it will stop complaining UNTIL I reload the app, and all errors have returned.
And lots and lots of "Name isn't valid" errors because it seems like it's stopped acknowledging that collection exists, even if I manually invoke it again. So it will stop complaining in one control but then be broken in all the others.
What am I doing wrong? I've been testing this code for a couple of months, so I know it works. I have tried to export and import the app, but that did nothing.