Bug Issue: Unable to save changes to game attributes


Pages: 1

Bluels

  • Junior Stencyler
June 06, 2017, 12:05:00 pm
Whenever I change any game attributes, adding, removing, modifying, save the game, exit, and reopen the game, all of the changes I made are undone. Anything changes I make to other parts of the game remain, however. If I add a game attribute than upon reopening the game all references to said game attribute are gone, while any other code remain.


rob1221

  • Master Stencyler
  • *
June 06, 2017, 01:14:05 pm
Could you generate and attach logs?
  • Status changed from New to Need Info


New attachment added by Bluels - June 06, 2017, 01:45:28 pm


Bluels

  • Junior Stencyler
June 06, 2017, 01:45:57 pm
Logs attached.
« Last Edit: June 06, 2017, 01:57:39 pm by Bluels »


Issue updated by Bluels - June 06, 2017, 01:57:39 pm
  • Version changed from Stencyl 3.3 to 3.4.0 beta3


rob1221

  • Master Stencyler
  • *
June 06, 2017, 01:59:28 pm
I see a couple errors, but I don't know if they're the cause of your problem, and a forum search brings up some topics but no solutions.  Try installing the current public version of Stencyl (b9300) and see if that helps.  You can install in a different location without affecting your current install.
Code: [Select]
javax.imageio.IIOException: Error reading PNG image data
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1337)
at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)
at javax.imageio.ImageIO.read(ImageIO.java:1448)
at javax.imageio.ImageIO.read(ImageIO.java:1308)
at stencyl.sw.io.write.GameFileWriter.write(GameFileWriter.java:125)
at stencyl.sw.io.write.MasterWriter.saveGame(MasterWriter.java:81)
at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:35)
at stencyl.sw.app.tasks.SaveGameTask.doInBackground(SaveGameTask.java:13)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.EOFException
at java.io.DataInputStream.readFully(DataInputStream.java:197)
at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1111)
at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1215)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1330)
Code: [Select]
Couldn't create block from xml tag: set-game-val-115


Bluels

  • Junior Stencyler
June 07, 2017, 09:26:49 am
I updated to the most recent version of stencyl, but the problem still remains. As far as those errors go, they seem to be about bad PNG data, and shouldn't be affecting game attributes at all.


rob1221

  • Master Stencyler
  • *
June 07, 2017, 12:20:47 pm
Does this happen to just that game or all games?


Bluels

  • Junior Stencyler
June 07, 2017, 12:54:09 pm
I tried with an earlier version of the game and it's just the current version.


rob1221

  • Master Stencyler
  • *
June 07, 2017, 01:11:45 pm
So something went wrong with the files in your game folder and Stencyl isn't able to correct it automatically.  I'm not sure exactly what is missing/corrupted though.
  • Status changed from Need Info to New


Bluels

  • Junior Stencyler
June 07, 2017, 03:46:53 pm
Hmmm. Do you have any suggestions about what to do, or do I just have to roll back to a previous version that works?


rob1221

  • Master Stencyler
  • *
June 07, 2017, 04:08:17 pm
Try Run > Clean Project and Debug > Game > Cleanup Unused Files and see if that does anything.


Issue updated by rob1221 - March 30, 2018, 06:36:02 pm
  • Status changed from New to Closed


Pages: 1

Details

  • Reported
    June 06, 2017, 12:05:00 pm
  • Updated
    March 30, 2018, 06:36:02 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    3.4.0 beta3
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Game Attributes

Tags


Attachments

* StencylBugLog6617.zip (24.04 kB - downloaded 1240 times.)