Can't send msg (SOLVED)

Can’t send messages to object in same collection that is loaded again :tired_face:

I wanna send messages from a script component of object in main.collection to a script component of object created factory that located in collection created collection-factory, each time collection file is loaded.

from
“main:/a_object#a_script”
to
"main:/collection0/b_object#b_script" - - (this URL is returned msg.url())

The above is that I can send messages first time when a_collection is loaded.

when a_collection is loaded again after delete other b_collection, “Instance “/collection0/b_object” could not be found” message appeares.

msg.url() returns

"main:/collection2/b_object#b_script"

how can I send messages to same component again easily? If you know other ways, plaese tell me :wink:

Sorry, I solved.

3 Likes