Comments (5)
It has to take one method, as per the documentation
So you should do:
spawner.set_spawn_function(func(_data) -> Node: return Node.new())
spawner.spawn()
To make this a bit easier to debug if someone makes this mistake (and don't read the docs) we could make it display the error from the call
from godot.
That's interesting. My main project actually did have the first parameter used (it sent a string) and still got the message. Let me recheck.
from godot.
Unfortunately, I am still getting this problem
from godot.
Have you set it on all clients? Please upload an updated project id the original MRP contained the invalid function
Also please try with a normal method instead of a lambda
Please also try with a supported version like 4.2.2, 4.2.1 is not supported
from godot.
Thank you I did not set the function on all clients which was the cause of my error! I might have missed that in the docs.
from godot.
Related Issues (20)
- Adding bones to the models of the Android in Godot 4 HOT 3
- OSX MenuBar fails to render
- GraphEdit get_children() always returns internal child '_connection_layer' HOT 4
- Bounding box glitch after drag and drop to instantiate scene
- No symbols in path's on files_dropped HOT 2
- Custom module source files are not included in generated Visual Studio project
- Using .reparent() on a BoneAttachment3D during runtime breaks it. HOT 2
- String Format problems without curly braces HOT 1
- Blending/Animating String or StringName tracks cause odd interpolation HOT 5
- Network Profiler greatly underreports bandwidth usage
- Shadows don't update when changing blend shape values
- Compilation error related to thorvg and webp with webp module disabled HOT 1
- False claim that "Variable [name] was used but never assigned a value" HOT 5
- Pressing ESCAPE does not cancel renaming file and folder in the editor (4.3 dev6) HOT 2
- Editor freezes and window remains blank after Mesa update
- MultiplayerSpawner can only spawn one of any type of PackedScene (is this a bug or intentional feature?) HOT 4
- Value of @export variables uses setter function after init HOT 2
- SCons: `silence_msvc` implementation issues HOT 3
- Mouse doesn't center HOT 2
- RootMotionView is considered for bounding box 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.