# \[SOLVED\]\[1.14.0\] - Confused: How To Change Scenes? Have It Perfect Now! Project Provided On Itch

**URL:** <https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379>\
**Category:** Questions\
**Created:** [October 26, 2026, 11:46am UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379 "2026-10-26T11:46:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 11:46am UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/1 "2026-10-26T11:46:41Z")

</div>

Hi,

New to Defold Engine.  
Running version 1.14.0 on Linux x86\_64.

What is the correct method to change scenes?  
Did some Googling and it seems very complicated?

Savant Savior

Working game demo is on itch site below:

> **[Project0-Defold by Team: JeZxLee](https://teamjezxlee.itch.io/project0-defold)**
>
> W.I.P. First video game made with Defold Engine...

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 1:42pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/2 "2026-10-26T13:42:10Z")

</div>

Found below tutorial:

Will try to implement, but don’t understand why scene change is so complicated?

> **[Switching Scenes](https://devga.me/tutorials/defold-crash-course-tutorial/switching-scenes/)**
>
> In the final installment of our Defold Crash Course Tutorial Series we are going to take a look at splitting our game up into different scenes or levels.

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 3:35pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/3 "2026-10-26T15:35:41Z")

</div>

Have something, but it fails on below call to change scene:

`msg.post("main:/scene_manager#script", "load_game")`

ERROR:GAMEOBJECT: Instance ‘/scene\_manager’ could not be found when dispatching message ‘load\_game’ sent from main:/go\_SceneFade#Scene\_Fading

If someone can download the small Defold Engine project on Itch below and provide a fix that would be great!

See top post for URL to game demo on itch!

---

<div class="post-metadata">

**Author:** ![Potota](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/potota/32/33404_2.png) [@Potota](https://forum.defold.com/u/Potota)\
**Post date:** [October 26, 2026, 6:54pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/4 "2026-10-26T18:54:55Z")

</div>

Looks like that message should be sent to `"controller:/scene_manager"`:

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/f/1/f14c2b7e167384a52ce3cf87de7b777168644151.png)

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 7:12pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/5 "2026-10-26T19:12:14Z")

</div>

Hi,

Thank you for helping…

I tried:  
`msg.post("controller:/scene_manager", "load_game")`  
but get below errors:  
`ERROR:GAMEOBJECT: The collection 'main' could not be created since there is already a socket with the same name.`  
`ERROR:GAMEOBJECT: AcquireResources NewCollection RESULT_OUT_OF_RESOURCES`  
`ERROR:GAMESYS: The collection /main/2-SCN_Defold_Logo.collectionc could not be loaded.`  
`WARNING:RESOURCE: Unable to create resource: /main/2-SCN_Defold_Logo.collectionc: OUT_OF_RESOURCES`

This messaging system is new to me.

Savant Savior

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [October 26, 2026, 7:28pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/6 "2026-10-26T19:28:18Z")

</div>

`ERROR:GAMEOBJECT: The collection 'main' could not be created since there is already a socket with the same name`

Looks like both your collections are named the same (click on collection and check in Properties)

> **[Proxy | Defold](https://defold.com/examples/collection/proxy/)**
>
> This example shows how to use collection proxies to load and unload collections.

I can recommend my video about addressing and messagging in Defold:

[![](https://img.youtube.com/vi/DT4D0d47udA/maxresdefault.jpg "How Messaging and Addressing Systems in Defold works? #gamedev #tutorial") ](https://www.youtube.com/watch?v=DT4D0d47udA)

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 7:57pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/7 "2026-10-26T19:57:54Z")

</div>

That fixed the original issue, but there is new issue:  
When the second scene is show, it shows both the first scene and second scene?  
(please see screenshot below)

 ![Defold_HowToClearPreviousScene](https://forum-defold-uploads.b-cdn.net/original/3X/9/6/96e981534cbe285fafd618e8d70148d2fb4fd1bb.png)

---

<div class="post-metadata">

**Author:** ![Potota](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/potota/32/33404_2.png) [@Potota](https://forum.defold.com/u/Potota)\
**Post date:** [October 26, 2026, 8:43pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/8 "2026-10-26T20:43:56Z")

</div>

In the `init` function of scene manager, it loads the menu/MIT collection directly instead of using your `switch_scene` function:

```lua
function init(self)
	-- Acquire input focus to process scene commands if needed
	msg.post(".", "acquire_input_focus")

	-- Track which proxy URL is currently active
	self.current_scene = nil

	-- Automatically load the main menu on startup
	msg.post("#menu", "load")
end

local function switch_scene(self, new_proxy_url)
	-- If a scene is already running, unload it first
	if self.current_scene then
		msg.post(self.current_scene, "unload")
	end

	-- Set the upcoming target scene
	self.current_scene = new_proxy_url
	msg.post(new_proxy_url, "load")
end

```

This means that `self.current_scene` is never set to `"#menu"` like it should be, and so the menu doesn’t get unloaded later on when the game/logo collection is set to load.

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 26, 2026, 9:54pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/9 "2026-10-26T21:54:24Z")

</div>

Almost there…

There is sometimes a white flicker between scene changes?

I have updated the Itch page with the new source code and Web HTML5 & Linux(x86\_64 & Arm64) builds.

See top post for URL to game demo on itch!

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 27, 2026, 1:04pm UTC](https://forum.defold.com/t/solved-1-14-0-confused-how-to-change-scenes-have-it-perfect-now-project-provided-on-itch/83379/10 "2026-10-27T13:04:31Z")

</div>

Ok, it is perfect now…

URL links above have been updated.
