[r95] Failed to Open Project

Bugs will be moved here once resolved.

Post » Thu Jun 21, 2012 6:07 am

Hi there

After saving a .capx project, and trying to reopen it, I get this message:

[quote]
Failed to open project

Parameter specifies variable 'ToolTipEnabled' which does not appear to be an instance variable in 'PlaceableTile'
Line 4104, column 25
In Event sheet 1.xml

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

I believe I know what happened. The object 'PlaceableTile' was part of a Family called 'ToolTips'. This family had a boolean variable 'ToolTipEnabled'. However, I removed PlaceableTile from this family after setting a default value for this variable, which might have screwed things up. I believe I used the right-click context menu to remove the PlaceableTile object from the family, which I've never done before.

How do I fix my project? I don't want to go in there and blindy delete things and completely screw it up. To be clear, it is saved as a .capx.
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Thu Jun 21, 2012 3:23 pm

.capx files are just .zip files of a folder project so you can try renaming it to .zip then start tweaking the project XML until it works. Failing that email it to be and I can try to fix it.

I'll investigate this soon, but if you can reproduce it that would be great.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Thu Jun 21, 2012 4:28 pm

Ah, I think I found the problem - removing objects from families would sometimes leave references in, e.g. MyObject.FamilyInstanceVar, even though the object no longer belongs to the family. Should be fixed in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests