Could not send message 'a' from x to y

Hi, I’m not quite sure why I keep getting this error because I’ve looked at other issues similar to this in the forum and they weren’t tagging these message with #scriptname which I have now done but it still doesn’t want to send this message even though I think I have id’d the script I want to send it to properly, if anyone could take a look that would be great.

ERROR:SCRIPT: main/scripts/main_menu.gui_script:11: Could not send message 'start 1 player' from 'main_menu:/gui#main_menu' to 'main:/controller#main_controller'.
stack traceback:
  [C]:-1: in function post
  main/scripts/main_menu.gui_script:11: in function <main/scripts/main_menu.gui_script:9>

Are you certain this is the correct name?
If you add a print(msg.url() in the controller script, what does it say?

1 Like

Aw shoot silly from me to be honest, collection name is ‘default’ instead of ‘main’
Thanks for the print url command, very useful!

2 Likes