Comments (5)
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.
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.
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.
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.
Then we need to check if something is missing when assigning here
from godot.
Related Issues (20)
- GPUParticles2D: Oneshot Sub Emitter won't emit finished() signal
- `CollisionShape3D` size gizmos disappear as soon as refraction is activated on a material behind the shape HOT 2
- `Area2D` only fires one mouse input event while in plugin tool dock
- TileSet editor with low performance using the tile grid. HOT 1
- [Android] Huge startup slowdown using .mo files
- Button groups don't work with packed scenes HOT 6
- [4.2] Blendspace2D discrete carry not working as intended HOT 2
- C++ error when clicking anywhere in the editor HOT 2
- Visibility AABB affects 3D particle collision HOT 4
- Skeleton Heavy CPU Bottleneck HOT 1
- Error output misleading HOT 5
- `GPUParticlesCollisionBox3D` and `GPUParticlesCollisionHeightField3D` produce different results in the same setup HOT 3
- Error when building linux 32 bit binaries: cannot convert float_t to float HOT 2
- `GPUParticlesCollisionSDF3D` does not seem to have any visible effect on particles HOT 5
- [Web] Uncaught TypeError: AudioNode.connect: Argument 1 is not valid for any of the 2-argument overloads. HOT 1
- Changing root viewport size while in fullscreen mode leads to weird results
- Mismatch between the actual scale of a CollisionShape2D object and the scale displayed in the inspector tab
- Physics interpolation seems to break Sprite2D HOT 5
- Import a large glb file (778MB) which contains 800 models will crash the editor. HOT 14
- Script editor no longer scrolls when you move line with Alt+Up/Down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot.