# Missing OnMessage (SOLVED)

**URL:** <https://forum.defold.com/t/missing-onmessage-solved/65673>\
**Category:** Questions\
**Created:** [June 27, 2020, 1:12pm UTC](https://forum.defold.com/t/missing-onmessage-solved/65673 "2020-06-27T13:12:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [June 27, 2020, 1:12pm UTC](https://forum.defold.com/t/missing-onmessage-solved/65673/1 "2020-06-27T13:12:11Z")

</div>

Hi! I got this warning while loading a collection

WARNING:GAMEOBJECT: Component type is missing OnMessage function

and the collection does not show.

First time this happens to me. Any help?

---

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [June 27, 2020, 1:18pm UTC](https://forum.defold.com/t/missing-onmessage-solved/65673/2 "2020-06-27T13:18:47Z")

</div>

Solved! My fault: I was using a CollectionFactory component instead of a CollectionProxy component. However the warning message is not that clear…

My apologize for the silly question.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [June 27, 2020, 2:17pm UTC](https://forum.defold.com/t/missing-onmessage-solved/65673/3 "2020-06-27T14:17:54Z")

</div>

You tried to send a message to the collection factory component?

---

<div class="post-metadata">

**Author:** ![roccosaienz](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/roccosaienz/32/19991_2.png) [@roccosaienz](https://forum.defold.com/u/roccosaienz)\
**Post date:** [June 27, 2020, 2:45pm UTC](https://forum.defold.com/t/missing-onmessage-solved/65673/4 "2020-06-27T14:45:37Z")

</div>

Yes, I sent “load” to what I thought was a CollectionProxy component but it was a CollectionFactory.
