Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Bug with Unity SendMessage?

edited July 2016 in Questions And Answers

I'm sometimes getting an error that a function is being called with no params but expects one. The only time this happens, it seems, is when I call SendMessage, and I surely am supplying a param. Anyone seen this?

Tagged:

Answers

  • Options

    Is the function that you are calling with SendMessage overloaded? And for SendMessage to be overloaded that could mean that another script on the same game object might have the same function name.

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

  • Options

    No overloads. It works if I specifically GetComponent, but BroadcastMessage (same problem) is a little more convenient.

Sign In or Register to comment.