Stencyl Test Scene Error

beta772

  • Posts: 9
I just finished making my game a few hours ago with no errors. I even played the whole game twice just so I can make sure it is ready. However, when I tried to test a specific scene "just to be sure" before I publish the whole game in Flash, an "Unexpected error" appeared. I thought it was nothing so I just closed the game and restarted Stencyl. When I opened the game again and tested the scene I want, Flash would show the scene I tested before the present one I wanted to test. This prompted me to test the other scenes. I even used the "Test Game". Flash always showed the same scene: The one I tested before the unexpected error occurred.

captaincomic

  • *
  • Posts: 6108
Code: [Select]
2015-11-17 17:17:47,015 INFO  [Thread-101] stencyl.sw.util.StreamGobbler: [openfl.bat] Uncaught exception - alloc.c(177) : max_string_size reached
This usually means that there is an image too large to be included. It doesn't say which resource is causing it, but try removing your largest images (backgrounds, sprite sheets). Maybe the last one you have added.

beta772

  • Posts: 9
Does that include tilesets? Because I did not add any large image after I played the game twice. I just edited some events in my scene. Just changing values like the x position and y position of my actors.

captaincomic

  • *
  • Posts: 6108
Yes, tilesets could cause this too.

beta772

  • Posts: 9
I see. I'll try removing some images and see what happens.
I tried uploading a copy of my game but it exceeded the max limit for uploads here.. I uploaded it in my dropbpx though.
I hope my problem can be resolved.
https://www.dropbox.com/s/ypdqdnt79t7zlln/PSO2%20Free%20the%20Lagos%2011-17.rar?dl=0

beta772

  • Posts: 9
I removed images that I think are too big (Two so far). No positive results. I also noticed something odd.
This is what I found: Whenever I tried testing the game or publish it in Flash, the previous flash earlier from when I was testing the whole game for errors would play. Not the current one I am testing or publishing.

beta772

  • Posts: 9
I got around to my problem. I installed Stencyl on my roommate's laptop and imported my game there. It worked fine.
I uninstalled and reinstalled Stencyl on my PC but the problem was still there. I even did a System Restore. It's weird that the game works on other pcs but not on mine.

captaincomic

  • *
  • Posts: 6108
Hm, strange. Is yours a 32-bit OS or do you have 32-bit Java maybe?