Constant Variable crash to desktop

Bugs will be moved here once resolved.

Post » Tue Oct 30, 2012 5:32 pm

Took awhile to figure out what was happening. ugh.

It turned out when I would edit a variable, it would leave out the variable name, (without my noticing) causing a crash to desktop at the next preview or save. It only happens when a constant global variable is present in the project.



https://dl.dropbox.com/u/85412219/forumposts/variablecrash.capx

edit event 2 and see the variable name is blank like the image. If you catch it when it happens, or return to fix it when you see the name in the event has changed to {0} then you will avoid the crash.

I had something similar in the past as well, but I could only track down that it was a problem with a static variable, I just avoided static variables ever since. This is probably what happened.

R108.2 64 bit win7

[edit: made the capx link clickable]Paradox2012-10-30 17:48:34
B
200
S
51
G
30
Posts: 897
Reputation: 36,496

Post » Mon Nov 05, 2012 1:29 pm

Thanks, should be fixed in the next build!
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,554


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests