Comments (2)
This is not a bug, but an limitation. See the following issues for details:
This is already mentioned in the docs, but we should make it clearer and more visible. And probably add a warning when assigning a captured local variable.
from godot.
I see, behavior is extremely confusing and inconvenient (and documenting it would be super minor thing that does not do too much, since it's still annoying as heck, and also if you encounter it how you even know where to look :) I was having miscalculations in completely different place because previously this bug was triggered). But at least this behavior is understandable/justifiable since - just now reading those threads I see - gdscript does not have GC, so would be pain to deal with this for engine devs (and that is likely understatement :) ). This is unlike quite a few other decisions in gdscript :) Well, seems workarounds will need to continue.... Thanks for response!
from godot.
Related Issues (20)
- get_remote_sender_id returns different identifiers
- Editor crash without any logs when opening a scene containing a noise shader HOT 4
- Bottom Panel (Output, etc.) keeps opening after every run. HOT 3
- Autoload breaks upon migrating project from Windows 7 to Windows 11 HOT 1
- `ResourceLoader.load_threaded_get_status(SCENE, PROGRESS)` always returns 0 (THREAD_LOAD_INVALID_RESOURCE) HOT 7
- Text is selected unexpectedly in script editor when left clicking after opening a context menu HOT 5
- Every time I start a new project, a warning is printed about an unavailable file (due to it being referenced in `editor_layout.cfg`) HOT 4
- Dragging a meshlibrary file hangs the editor for several seconds. HOT 3
- Tilemap shows only one custom data? HOT 1
- AnimationPlayer timeline error HOT 8
- 4.3 Timer.start() not really do what documentation said
- AudioStreamPlayer leak at exit HOT 1
- Impossible to change path to dependency for .glb files
- TileMaps with layers cannot be duplicated HOT 4
- ResourceLoader.load_threaded_get_status returns THREAD_LOAD_LOADED after ResourceLoader.load_threaded_request with invalid path HOT 2
- Misleading return value on Object::call_deferred HOT 10
- Overlapping collision reports are non-deterministic when clicked despite sorting. HOT 3
- The number of draw calls keeps showing a zero when using the overdraw debug draw mode in Forward+ HOT 1
- Find in Files no longer works in 4.3 RC3 HOT 7
- undefined symbol: AudioDriverScriptProcessor::finish_driver() 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.