Message Passing Instance Not Found

I’m trying to pass a message to my main script, however, I keep getting the same error. The message is being passed from a gui script and I have checked that the receiver id is correct.


I’ve also passed a message from a gui script to the main script before, which is working. Shown below.

pls, take a look this post Message Passing betweens scripts - #2 by AGulev

I’ve read through this and looked at the manuals but still can’t figure out what the issue is.

Have you done this in the target script?

print(msg.url())

That will give you the correct URL.

Thanks I checked this and it gave me a different URL and this fixed it.

msg.post(“main:/Object#main”, “start_finishScreen”)