Corrupted project from multple behaviors

Bugs will be moved here once resolved.

Post » Sat Jun 02, 2012 12:19 pm

Hello,

I recently created a new project in Construct 2, and after about 20 minutes of setting up the basics I was just about to start working on my player characters' behaviors, when after adding both "Platformer" and "Physics" behavior to the player sprite, the application crashed and subsequently corrupted the project.

When trying to run the project again I get the following error:

[quote=Construct 2]
Failed to open project 'C:\mygame\game.caproj'
Cannot locate element 'behavior-instances'
Under element: c2layout \ layers \ layer \ instances \ instance
Line 60, column 17
In C:\mygame\Layouts\lvMap1.xml

The file may be invalid. Try checking the file in a text editor (proejcts are saved in XML format).[/quote]

I PM'd the project to Ashley.

Is this a bug?bolosaur2012-06-02 12:21:45
B
22
S
5
Posts: 107
Reputation: 2,354

Post » Sat Jun 02, 2012 12:25 pm

Not a good idea mixing "Platformer" and "Physics" behaviour !(on the same object)
You will always have problems.
chrisbrobs2012-06-02 12:26:14
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300

Post » Sat Jun 02, 2012 12:31 pm

Maybe so, but I don't think it should make the application crash and corrupt my project?
B
22
S
5
Posts: 107
Reputation: 2,354

Post » Thu Jun 07, 2012 1:07 am

Platform and Physics aren't designed to work together so won't work well, but it certainly should not crash the editor. I'm afraid it's hard to deal with this kind of issue because there is only the broken project as evidence, which is simply the consequence of the crash, not the problem itself. If you keep backups and can reliably reproduce a crash by some series of steps, do let me know, otherwise it's difficult to do anything about it because there's no information about what caused the crash (and lots of people are adding behaviors every day and it works OK for them). I PM'd you a recovered project, but I had to remove the Physics and Platform behaviors.

It could be your graphics card driver crashed, which is a common problem and not our fault. So maybe try updating them.Ashley2012-06-07 01:07:54
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest