#error whenever i load up and try to press a button to switch to my level scene

47 messages · Page 1 of 1 (latest)

rocky tree
#

they're all inherited scenes from the same parent level/scene, if that helps

#

the ones that are throwing me errors

mint quest
#

error seems to be in the levels. Are they referencing another scenes?

rocky tree
#

They all inherit from another level

#

But that level exists and is in the place the path that it says is nonexistent

mint quest
#

try reloading the project. Otherwise show the other script and the files in resources

rocky tree
#

I reloaded the whole program twice to see

#

Still same error right on startup

#

the other script is just a parent of the level scenes but it says it’s nonexistent but I’m looking at it and loading it up from the file thst it says the scene is nonexistent lol

mint quest
#

I was just going to scan for typos or something similar.

rocky tree
#

I’ll send ss of all this in a sec

rocky tree
#

these 3 scenes, w1_l1, inherit from world1_level_parent

#

the world1_level_parent file is in the right directory, in the scenes folder, and the 3 paths for the sub-levels are in the right area too

#

and here's the code/nodes that are throwing the errors, if i comment these out i get no errors but then the menu doesn't function lol

rocky tree
mint quest
#

did you create the path by dropping the file into the script?

rocky tree
#

yes

#

hm

#

for some reason when i actually try to open the files they're "corrupt"

#

idk why i didn't see that

mint quest
#

hum, not good

rocky tree
#

but when i go out of my way to open just those 3 level scenes they're corrupt

#

they're small levels i made so it's not too much lost tbh

#

just gonna delete them and remake them, took me like 5 minutes lol

mint quest
#

I was gonna say that you have a warning for cyclic references in the last warning line, but corrupted scenes are definetily the problem

rocky tree
#

okay i remade them and i can open them from the fileSystem viewer now

#

but i still get thrown the same error

#

what does cyclic references mean?

mint quest
#

that you are referencing scenes between themselves, and when you load one the other ones is not ready yet

#

something like that

rocky tree
#

how do i fix that lol

#

hm

mint quest
#

you need to review the architecture of your project

rocky tree
#

okay i deleted them all and just tried running without them referenced

#

and i still get this error for just having the root world preloaded

mint quest
#

isn't the root world trying to load stuff as well?

rocky tree
#

it doesn't get instantiated until i load up a level

#

okay, i restarted godot and now it says that the scene is corrupt

#

which is NOT good because i have a lot of stuff referencing it

#

that's kinda ass

mint quest
#

yeah, that is shait

rocky tree
#

is there a way to fix that?

#

or am i out of luck lol