-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project file becomes invalid and several buttons and options break after deleting a Sprite #9220
Comments
Hi, I'm the one who sent this error report. After restarting Gamemaker, the buttons and settings that were previously inaccessible became interactable again, which is strange considering I restarted my PC and closed and reopened Gamemaker several times before and after then. While writing this I returned to the Gamemaker home screen to see if the broken project was able to be opened again. It was not, but when I returned to my replacement project those buttons and settings were greyed out again. Another side effect I realized between sending my original error report and this comment was that the preview icons for assets were all changed to the default white box, and tilesets rendered in the room tile editor as white exclamation marks, invisible in the Asset Manager/tile manager sidebar on the right and in-game, and normal in the Inspector. This issue also returned when I re-opened the project. This is a very strange bug! |
The buttons becoming inaccessible is likely #8340 so this will be fixed in an upcoming release. As for the project itself, it looks like some bits have gotten corrupted somehow. To fix it:
That should get your project working again. If you have any other issues, please let us know. Thanks! |
Thank you
…On Fri, Jan 31, 2025, 3:35 AM Steven Campbell ***@***.***> wrote:
The buttons becoming inaccessible is likely #8340
<#8340> so this will be
fixed in an upcoming release.
As for the project itself, it looks like some bits have gotten corrupted
somehow. To fix it:
sprites/spr_almond/spr_almond.yy has the various name fields as sOrb -
they need changed to "spr_almond"
sprites/sCoin/sCoin.yy also has various name fields as sOrb - they need
changed to sCoin.
Additionaly, the .yyp itself is missing a reference to sCoin, so you'll
need to add this in to the resources list ( under spr_almond, for instance )
{"id":{"name":"sCoin","path":"sprites/sCoin/sCoin.yy",},},
That should get your project working again.
We highly recommend setting up Source Control and using it often so that
if mistakes happen you can easily revert them, especially if you
accidentally fiddle with the files on disk.
If you have any other issues, please let us know.
Thanks!
—
Reply to this email directly, view it on GitHub
<#9220 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO4DHG2CIBTDECTN7BYZFST2NNNW7AVCNFSM6AAAAABWGEEF2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRWHE4TKMRSGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Description
I had an object in my game whose image I wanted to change, so I changed the image in the Sprite asset setting as normal, but when I loaded the game it still used the old image, so I deleted the Sprite and made a new one with the image I wanted to use, and changed the Sprite used by its object, but that prevented the game from running. I tried to Ctrl+Z to bring back the Sprite I deleted (realizing now, the next morning, that that does not bring back deleted assets), and that caused an error to pop up on my screen that said the project had become unstable, and to save and close the IDE, which I did, but when I tried to reopen my project it said that the Sprite that I deleted from the project files was missing, and that the project could not be opened because of it. In trying to fix it, I went into the project files and copied another Sprite and renamed the copy to what the old Sprite was named, but it still would not allow me to open the project. (I also accidentally deleted another Sprite from my project folder, while the project was not open, and that seems to have just compounded the issue.)
I decided that the only thing left that I could do would be to make a new project and copy over my old work, but now the Save, Create Executable, Create Executable and Launch, Debug, Run, Stop, Clean, and Game Options icons in the top-left of the screen are greyed out and unpressable, as well as many options under the drop-down menus above them. I also tried to copy over the asset folders from the old project, and the assets do not show up in the Asset Browser (not sure if that's a known bug or not), and I also can't open the .yy files of those assets with Add Existing from the right-click menu in the Asset Browser.
I now have no ability to bring back my rooms, Sprite and Object settings and variable definitions, stop the game from the IDE, or open the Game Objects whatsoever, and to save or run the game I can only use Ctrl-S or F5.
I am using IDE v2024.11.0.179 and Runtime v2024.11.0.226.
Steps To Reproduce
Just delete a Sprite that the IDE deems integral to the entire existence of the project, apparently
Which version of GameMaker are you reporting this issue for?
IDE v2024.11.0.179 Runtime v2024.11.0.226
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
Attached Files
882c771f-7254-4614-997f-ef5626c38869
The text was updated successfully, but these errors were encountered: