16
Bug Archives / Re: All scene events cloned to actor and overwrote all actor events
« on: May 18, 2016, 08:01:36 pm »
I apologize, I didnt see this until I just had the behavior happen again. I've posted to the bug forum about it, but here is a paste:
I've had this happen randomly two occasions now... On a random build, a scene will write its files as ActorEvents_xx.hx, ActorEvents_xx.design, and write the scene properties in list.xml as an actor. The scene XX.scn file will stay until you close and reopen stencyl. The first time this happened it overwrote an actor with the same number (scene35 overwrote actor35). This time I got lucky and the scene number was between actor numbers.
The exact scenario: Scene 36 files were erased, and became ActorEvents_36.hx, and ActorEvents_36.design. The headers of the files had actor methods, but the rest of the logic was the original scene logic. List.xml had actor properties for the scene (<snippet actorid="36" attachedevent="true" class="scripts.ActorEvents_36" classname="scripts.ActorEvents_36" desc="Actor Specific Events", etc.)
I managed to hack everything back together as a scene with text edits, but this is really concerning moving forward.
I'm really worried I've got something corrupt deep inside, on a game I've been working on for a year and a half....I don't know how far back in revisions to go to even consider myself safe to move forward on it
Justin, I will send you the game, and thank you very very much for offering to look at it.
I've had this happen randomly two occasions now... On a random build, a scene will write its files as ActorEvents_xx.hx, ActorEvents_xx.design, and write the scene properties in list.xml as an actor. The scene XX.scn file will stay until you close and reopen stencyl. The first time this happened it overwrote an actor with the same number (scene35 overwrote actor35). This time I got lucky and the scene number was between actor numbers.
The exact scenario: Scene 36 files were erased, and became ActorEvents_36.hx, and ActorEvents_36.design. The headers of the files had actor methods, but the rest of the logic was the original scene logic. List.xml had actor properties for the scene (<snippet actorid="36" attachedevent="true" class="scripts.ActorEvents_36" classname="scripts.ActorEvents_36" desc="Actor Specific Events", etc.)
I managed to hack everything back together as a scene with text edits, but this is really concerning moving forward.
I'm really worried I've got something corrupt deep inside, on a game I've been working on for a year and a half....I don't know how far back in revisions to go to even consider myself safe to move forward on it
