# Problem with Collection Proxy (SOLVED)

**URL:** <https://forum.defold.com/t/problem-with-collection-proxy-solved/53713>\
**Category:** Questions\
**Created:** [June 1, 2019, 1:37pm UTC](https://forum.defold.com/t/problem-with-collection-proxy-solved/53713 "2019-06-01T13:37:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkuluc921](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/m/47e85d/32.png) [@mkuluc921](https://forum.defold.com/u/mkuluc921)\
**Post date:** [June 1, 2019, 1:37pm UTC](https://forum.defold.com/t/problem-with-collection-proxy-solved/53713/1 "2019-06-01T13:37:38Z")

</div>

Hello, i readed and tried to implement collection proxy manual for my prototype.  
But it says  
‘ERROR:GAMEOBJECT: The collection ‘default’ could not be created since there is already a socket with the same name.  
ERROR:GAMESYS: The collection /main/game.collectionc could not be unloaded since it was never loaded. Message ‘unload’ sent from default:/loader#loader to default:/loader#game.  
ERROR:GAMEOBJECT: The collection ‘default’ could not be created since there is already a socket with the same name.’

this but i have no idea what’s wrong with my codes

here is code

`local function unload(self) `  
` print("unload")`  
`msg.post("#game", "unload")`  
`end `

`local function load(self) `  
`print("load")`  
` msg.post("#game", "async_load")`  
`end `

`function init(self) `  
` msg.post(".", "acquire_input_focus")`  
`end `

`function on_input(self, action_id, action) `  
` if (action_id == hash("startProx")) then`  
` unload(self)`  
` load(self)`  
`end `  
`end `

`function on_message(self, message_id, message, sender) `  
` if (message_id == hash("proxy_loaded")) then`  
` print("init")`  
` pprint(sender)`  
` msg.post(sender, "init")`  
` msg.post(sender, "enable")`  
`end`  
`end `

---

<div class="post-metadata">

**Author:** ![amel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/amel/32/27475_2.png) [@amel](https://forum.defold.com/u/amel)\
**Post date:** [June 1, 2019, 1:57pm UTC](https://forum.defold.com/t/problem-with-collection-proxy-solved/53713/2 "2019-06-01T13:57:45Z")

</div>

Every time you create a collection, its name is ‘default’ by default. So you should change the collection name to something else e.g, gamecollection. This name can be found in the bottom right corner when you’ve opened a collection file.

---

<div class="post-metadata">

**Author:** ![mkuluc921](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/m/47e85d/32.png) [@mkuluc921](https://forum.defold.com/u/mkuluc921)\
**Post date:** [June 1, 2019, 1:59pm UTC](https://forum.defold.com/t/problem-with-collection-proxy-solved/53713/3 "2019-06-01T13:59:57Z")

</div>

Ugh.Good to know this thanks 🙂

---

<div class="post-metadata">

**Author:** ![Damian\_Scattergood](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/damian_scattergood/32/27289_2.png) [@Damian\_Scattergood](https://forum.defold.com/u/Damian_Scattergood)\
**Post date:** [January 20, 2022, 9:41pm UTC](https://forum.defold.com/t/problem-with-collection-proxy-solved/53713/4 "2022-01-20T21:41:52Z")

</div>

Ran into the same problem today. Good someone has answered this before.
