Built App crashes at login

When I start my app, and hit the login button it just crashes. This only happens in the built app and not on the preview.

This is the logic for the login button:

This also happens on signup, this is the logic:

I’ve tried many things, including changing the runtime and deleting the logic and adding it to a new button, but the problem persists.
Again, it works fine on preview but not the built app.