Godot Engine

Godot Engine

Cyanbug 2023 年 12 月 27 日 下午 4:43
"current scene exists within one of its nodes"
i'm just trying to run the game and this shows up. the ♥♥♥♥ does this mean?
< >
正在显示第 1 - 8 条,共 8 条留言
Matt [Linux] 2023 年 12 月 27 日 下午 6:03 
does the game run or is it crashing? post some code that might help us figure out the problem
umop-apisdn 2023 年 12 月 27 日 下午 6:58 
It sounds to me like you have a recursion error; your scene contains itself as a sub-node, so loading it would cause it to load it again, which would cause it to load it again...
Cyanbug 2023 年 12 月 28 日 上午 10:01 
i don't really understand what's causing it, I made sure to recreate the scene after getting the notification and imported the elements I made for the scene again to make sure, (I used other programs to make the models) but I don't really see what exactly is happening
Cyanbug 2023 年 12 月 28 日 上午 10:01 
引用自 Goldberg Linux
does the game run or is it crashing? post some code that might help us figure out the problem
it just doesn't run
umop-apisdn 2023 年 12 月 28 日 上午 10:12 
Where does this error message appear?

Does clicking on the error message bring your cursor to a specific line of a specific script?

What is your scene hierarchy?

Are you using the latest version of Godot (ie, the one Steam downloads for you), or an older version?

I tried to recreate your issue by making a scene that contained itself (dragging the .tscn file into the scene), but it wouldn't let me... and a different error message than the one you listed was displayed as a modal alert (a window with an "ok" button).
最后由 umop-apisdn 编辑于; 2023 年 12 月 28 日 上午 10:13
Cyanbug 2023 年 12 月 29 日 下午 1:42 
i tried launching the scene using the chain looking icon above the list of assets used in it. I'm really new to this, and i've been told that's how you do it
umop-apisdn 2023 年 12 月 29 日 下午 2:42 
引用自 Pixel
i tried launching the scene using the chain looking icon above the list of assets used in it. I'm really new to this, and i've been told that's how you do it

That is incorrect. Whoever told you that was wrong.

The "chain" icon above the scene hierarchy is for instantiating a scene file as a node. This will add an existing .tscn file to the scene view.

To launch the entire project, press F5 or the "play button" icon at the top-right of the Godot window.

To launch an individual scene, press F6 or the "clap board" with a "play button" icon at the top-right of the Godot window.

To stop a running project, press F8 or the "stop button" icon at the top-right of the Godot window.

I recommend you go back and read the documentation, so as to avoid these kinds of errors in the future. Start here: https://docs.godotengine.org/en/stable/getting_started/step_by_step/index.html
最后由 umop-apisdn 编辑于; 2023 年 12 月 29 日 下午 2:43
Cyanbug 2023 年 12 月 29 日 下午 3:52 
thanks
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50

发帖日期: 2023 年 12 月 27 日 下午 4:43
回复数: 8