GameMaker-Bugs icon indicating copy to clipboard operation
GameMaker-Bugs copied to clipboard

Prefab Library: GM unstable when Duplicating a Prefab into a project that contains an asset with the same name

Open Emc1923 opened this issue 1 month ago • 2 comments

What Is The Bug?

When using 'duplicating into' from the Prefab library a warning dialog is offered with the option of keeping/replacing or renaming. Currently selecting to rename can make the IDE unstable:

Image

From the ui.log exception it also seems that somehow I was using the incorrect version of the prefab I was trying to duplicate

=== A resource or record version does not match the IDE you are using. ===
C:\ProgramData\GameMakerStudio2-Beta\Prefabs\io.gamemaker.uipanelsglossy-1.0.0\prefab.json(7,35): GMSC Error: Record version 1 is different than that of this release: 3

Expected Change

No response

Steps To Reproduce

  1. Start GameMaker
  2. Open a project with an object that shares name with a prefab
  3. From a Prefab Collection duplicate
  4. See the issue

How reliably can you recreate this issue using your steps above?

Only Ever Happened Once

Which version of GameMaker are you reporting this issue for?

2024.1400.2 Beta (internal)

Which operating system(s) are you seeing the problem on?

Windows 11

Are you running GameMaker from inside your Steam library?

Yes

Sample Package

https://api.gamemaker.io/api/github/downloads/a0b2a51e-655e-47d9-8fc3-01c9e306ad93

Emc1923 avatar Nov 20 '25 10:11 Emc1923

I confirm duplication works when:

  • do not have anything of that name already in your project
  • duplicate twice
  • second time the box shows
  • Tick the Rename box

So... I think the version mismatch mentioned in the ui.log should be the focus of the problem-solving here.

jonathan-markland avatar Nov 20 '25 17:11 jonathan-markland

Looks like the user interface prefab collection version has been downgraded to 0.1.2.

Image

Emc1923 avatar Nov 21 '25 09:11 Emc1923