- Home /
SendMessage has no receiver (SmartFox)
I've been working, trying, searching, and looking everywhere on the internet to find out how i can fix this error.
SendMessage StartSending has no receiver
I'm working on a Multiplayer Game and I can talk trough the chat (a bit buggy) but I can't see players update there location. I really want this to finally be fixed because it's the only error that keeps me from further develop my game...
Maybe this question is posted like a 100 times already but I never found an awnser that says how to fix this, only links to other pages with more links etc etc.
Answer by Molix · Jul 04, 2011 at 07:22 PM
SendMessage gives that error if there are no functions with the name of the message (in this case, "StartSending") in the target object.
If you've derived your game from the SFS demo, then that specific message ("StartSending") is not really related to Unity, but rather the demo code and your set up. If I recall correctly, it would be handled by the AnimationSynchronizer and the NetworkTransformSender in the local player object, i.e. the player gets spawned then the various components inside are told (via the SendMessage) that it is time to start sending info to the other clients. Make sure you are sending the message to the right target, and that it has the necessary scripts in it.
THAN$$anonymous$$ YOU SOO $$anonymous$$UCH!!!!!!!!!!!!!!!!!!!! I have multiplayer working so now i can continue developing my game :D!!!!!!!!! :DDDDDDDD :DDDD Thanks you very very very very much :)
I'm glad it helped :) (don't forget to mark the question as answered)
Your answer
![](https://koobas.hobune.stream/wayback/20220612132740im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Server-Side SmartFox Server Question 0 Answers
A node in a childnode? 1 Answer
Smartfox Multiplayer Update problem 0 Answers
AOT for final PC/Mac build 1 Answer