Prefab Library: GM unstable when Duplicating a Prefab into a project that contains an asset with the same name
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:
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
- Start GameMaker
- Open a project with an object that shares name with a prefab
- From a Prefab Collection duplicate
- 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
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.
Looks like the user interface prefab collection version has been downgraded to 0.1.2.