Giter Site home page Giter Site logo

Comments (5)

huwpascoe avatar huwpascoe commented on July 19, 2024 1

If the editor allowed for the creation of these cyclic references, that's a bug (please provide the workflow).

However if these files were manually changed outside the editor to try and bypass that behavior, that can't be helped.

I do have a ready to merge PR that might be an eventual fix to the preloading problem #91815.

from godot.

inhalt120g avatar inhalt120g commented on July 19, 2024 1

@AThousandShips

Circular references are indeed not supported, and there's clear errors to indicate this, so this isn't a bug and the error messages should make it clear that this isn't supported IMO

And in my own experience adding circular references in the editor is prevented, so how was this achieved?

Here is how to add a circular reference using the attached project (it's all about one node that spawns the next node when you press a button and removes itself, nodes S01 to S04 all use the same base scene).
Open S04 (it's one of the nodes in the root).
In S04, there's only one node. In the Inspector, you'll see that it has a "target" field. Drag, for example, S01 into it.
Save the project.
Quit to project list.
Reopen the project.
…It won't work.
engage set as handled comparison g43.zip

from godot.

AThousandShips avatar AThousandShips commented on July 19, 2024

Circular references are indeed not supported, and there's clear errors to indicate this, so this isn't a bug and the error messages should make it clear that this isn't supported IMO

And in my own experience adding circular references in the editor is prevented, so how was this achieved?

Unless this was not handled correctly in the editor, or the messages aren't clear enough, this isn't a bug and it is simply not supported, you can still work with it by loading things with paths, or with UIDs as mentioned above

If there aren't any of those issues here this should be discussed in this proposal instead:

from godot.

inhalt120g avatar inhalt120g commented on July 19, 2024

Not sure my instructions make sense, so here it is in video format too (only without saving / reopening steps):

2024-06-17.19.18.59.mov

from godot.

AThousandShips avatar AThousandShips commented on July 19, 2024

Then we need to check if something is missing when assigning here

from godot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.