I’m having some difficulty in passing a message between a gui_script within a ‘main’ collection…and a script within a ‘level1’ collection. This is the error message I’ve received. I inserted a couple print statements in the destination script to confirm the url. Any assist would be most welcome. Thanks!
ERROR:SCRIPT: /main/scripts/main_menu.gui_script:111: Could not send message ‘start_nextGame’ from ‘main:/controller#main_menu’ to ‘level1:/game_level1#level1_main’.
stack traceback:
[C]: in function ‘post’
/main/scripts/main_menu.gui_script:111: in function </main/scripts/main_menu.gui_script:93>
DEBUG:SCRIPT: msg.url of level1_main.script
DEBUG:SCRIPT: url: [level1:/game_level1#level1_main]
Are you sure the level1 collection is loaded when the message is posted? Have you ensured that you’ve received a proxy_loaded message before trying to post messages to any game objects in the collection?