Giter VIP home page Giter VIP logo

Comments (5)

AThousandShips avatar AThousandShips commented on May 31, 2024

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.

kylemiller3 avatar kylemiller3 commented on May 31, 2024

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.

kylemiller3 avatar kylemiller3 commented on May 31, 2024

image
Unfortunately, I am still getting this problem

from godot.

AThousandShips avatar AThousandShips commented on May 31, 2024

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.

kylemiller3 avatar kylemiller3 commented on May 31, 2024

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)

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.