Crash problem with Test Scene

brachius

  • Posts: 1
Hello,
I am new on "Stencyl" and I have a problem.
Sometimes when I launch a test. An unknown error displays. I am obliged to restart Stencyl and the test works with no problem at all. Have you this bug?

Thank you.

PS: Scuse for my poor English but I speak French....

crystalnoir

  • *
  • Posts: 50
Hi,

Right, I have the same issue. Sometimes I don't know why, I have to relaunch the program to make my project works correctly, otherwhise I have a weird error that I don't have if I relaunch Stencyl.
I'm not english, so please excuse me if I make some mistakes :)

coleislazy

  • *
  • Posts: 2607
Can you post the text of the error, or a screenshot of it, perhaps? It will help us figure out what the problem is.

crystalnoir

  • *
  • Posts: 50
Hello :)

The problem is that 's happen randomly. I didn't think about that :( If we want more details, we have to wait that the problem happens again.

The thing that's strange is the fact that relaunch the software make the problem disappear.

(very sorry for my bad english, hope you understand what I wrote lol).
I'm not english, so please excuse me if I make some mistakes :)

crystalnoir

  • *
  • Posts: 50
Hello,

I'm sorry to bump the topic but it just happens to me, several minutes ago. But this time without error :

I've coded some functions (very simple), attached my behavior and test the scene. The game launches itself correctly but my code doesn't work (nothing happens). I looked at my code but I didn't understand why this simple code didn't work.

I've simply relaunched Stencyl and hoooo that works now...

Time to time, if I want my code to work I have to relaunch the app. Sometimes, I don't have any error, and sometimes I have some. For now, the more often is I don't have error but my code doesn't work and I have to restart Stencyl to make it works.

Thank you, and sorry for my english...
I'm not english, so please excuse me if I make some mistakes :)

hayleyjarnold

  • Posts: 2
i have had the same problem.  I tried closing the program and reopening it and it was still giving me the error. is there anything else that i could possibly try?

coleislazy

  • *
  • Posts: 2607
Sometimes Stencyl doesn't realize that a file has been changed and so doesn't recompile it. This is a headache to me as well, but closing and reopening the game is a workaround until the underlying issue is resolved.

hayleyjarnold: If you need help with an error message, you need to tell us what the error message is.

Rob

  • *
  • Posts: 1268
To add to Cole, can you try doing test scene/game on sample stencyl games like balloons and alien approach several times?

If you have problems with those, then we can fix it. Otherwise, it is most likely game related and you need to post your logs.

http://community.stencyl.com/index.php/topic,1190.0.html
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

crystalnoir

  • *
  • Posts: 50
Game relative issue, difficult to believe, just because if we close the project and reopen it (or relaunch Stencyl) that works without changing anything.

For the log that's a good idea but we have to have an error to find something. The problem is that we don't have error each time, just the game that doesn't see "changes we made".

The problem is not in fact the game. If I open the balloons game I don't have any problem because I haven't changed anything on it.

The problem occures when we modify something and try the game after saving it, and then, there is 3 possibilities :

1 - the game launches itself and all work (so no problem)

2 - the game launches itself but the last code added doesn't do anything (for example I add collision detection). So I exit Stencyl. I restart it, and recompile the game, and....it works this time

3 - the game launches itself but we've got an error (rare). So I exit Stencyl, restart it and recompile the game and...it works this time without error. (The next time I have this kind of error that disappear when I relaunch Stencyl, I will make a copy of this with the logs).

When the problem occurs the most often is the case n° 2.  I have the feeling that the problem is what Cole said : Stencyl doesn't realize that a file has been changed (at the same as we save it before compile the game).

After, why time to time, we have an error (I can't copy paste here because the more often I have the problem is the case n°2 without the error), I don't know, but that's the same kind of issue : restart Stencyl and all works very well after.

I hope , you will understand what I try to explain, it's difficult for me to find my words sometimes and I make a lof of language mistakes I think (english is not my first language) :)

Thank you

« Last Edit: May 08, 2012, 02:58:48 pm by crystalnoir »
I'm not english, so please excuse me if I make some mistakes :)

coleislazy

  • *
  • Posts: 2607
Don't worry, I definitely understand what you are saying. It is a frustration of mine as well. There really should be no need to close-open the project just to see the changes you just made. The team is hard at work on some major changes to the engine right now, but this is an issue I'm going to keep my eye on. If it is not resolved with the changes they are working on now, I'm going to nag them to figure it out soon.

captaincomic

  • *
  • Posts: 6108
When I have these issues, saving the game (Ctrl+S) and then reloading the tab where I made changes (Ctrl+R), usually helps. That's a bit faster than closing and reopening Stencyl.

I think the team is already working on an improvement for the next update (and eventually - not in the next update - all changes will be saved immediately.)


Rob

  • *
  • Posts: 1268
If I understand correctly, some of those auto-saving feature are already there in our nightly.

If you are just prototyping your game, give it a try. It's quite stable at the moment.

http://community.stencyl.com/index.php/topic,3874.0.html
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

crystalnoir

  • *
  • Posts: 50
Thank your for all your answers :) I'm going to test the CTRL R features and may be the nighty build :)

I will tell you what later :)

Thank's !

Crystal Noir
I'm not english, so please excuse me if I make some mistakes :)