I'm having some troubles with the viewport for some reason.
As some quick context, the project in question is an auto updater for my game. It might have something to do with my game, but I can't be certain, because the debugger output doesn't have any paths that relate to my actual game.
What happens is when you run the game, it works as it's supposed to. It checks for updates on my database, and if there's either no version downloaded to the computer, or there is an update, it'll download it, then run the game. If not it'll simply run the game as normal (load the actual game's pck file in a bin directory in the user
path). However, what happens is when the game loads the loading screen in the downloaded pck file, it gives the errors listed below and doesn't do anything else.
The system used to work, so I don't quite know what went wrong. I'll provide code as needed, because I don't know whats responsible for what yet. Here's what comes out of my debugger:
ERROR: getornull: Condition "!id_map.has(p_rid.get_data())" is true. Returned: __null
At: ./core/rid.h:160
ERROR: viewport_set_size: Condition "!viewport" is true.
At: servers/visual/visual_server_viewport.cpp:398
ERROR: getornull: Condition "!id_map.has(p_rid.get_data())" is true. Returned: __null
At: ./core/rid.h:160
ERROR: viewport_set_global_canvas_transform: Condition "!viewport" is true.
At: servers/visual/visual_server_viewport.cpp:616
ERROR: getornull: Condition "!id_map.has(p_rid.get_data())" is true. Returned: __null
At: ./core/rid.h:160
ERROR: viewport_attach_to_screen: Condition "!viewport" is true.
At: servers/visual/visual_server_viewport.cpp:436
There's also other errors that don't relate to this specific error, but they don't cause this problem. (They show up with this system no matter what)
Can someone please help me?
EDIT: Before I forget, I'm running Godot 3.2.3 stable on Windows 10