Hi Ashley & Tom,
I'm afraid I'm unable to replicate this error on a smaller scale.
I'm seeing the below:
<img src="https://dl.dropbox.com/u/50465867/Errors/layoutjserror.jpg" border="0" />
It happens when the game calls a level change on a certain level, when a certain object is on the layout. I have located the line which will stop the glitch, but it doesn't seem to help me. I was able to use it perfectly fine in the previous stable version r95.
I'm afraid it goes against your request for bug reports, but my game has over 150 events, and an awful lot of objects. I've tried cutting the project down, but it keeps having the message saying that all objects need to appear on one layout. Which I'm struggling to figure out.
Seeing as I've been able to locate the line with the error, might I be able to send you the full project to have a look at, or would you rather I hack and slash the project until I get it down to a more acceptable size?
In either case, how would you like me to send it?
Same happens to me whenever i try to reload a scene. Its a change from version 102 to version 103 and i tried to clean all my system to upload a capx but its really really hard to do.
Does it happen every time? If so a .capx and steps to reproduce are OK. Dropbox is good for sharing files.
Sorry, I should have said... the highlighted line, when disabled, allows the game to work fine.
<img src="https://dl.dropbox.com/u/50465867/Errors/layoutjserror02.jpg" border="0" />
Can I PM the file? It's a project I've been working on a few months, and would rather not post a link to it on the forum.
I can confirm it's happening every time. Line 145 seems to be the culprit.
Found my error, its also whenever i have on destroyed, it seems like constructs2 its triggering it on scene reload.
What does your event look like donan?
I'm unable to re-create it...
I do an event on destroyed to detect i killed an enemy (and add it to a counter)to be sure the player emptied the screen before it goes onto the next level.
Could probably change the code to create a state on each enemy but would require a lot of change since i created a complex levels spawn system :(
We all seem to be having this problem when an object is suppose to be destroyed.
Darn... back to r95 for me <img src="smileys/smiley19.gif" border="0" align="middle" />
Here's the error I'm getting, also related to On Destroyed:
It happens when you try to destroy more than one object at the same time.
Develop games in your browser. Powerful, performant & highly capable.
Yeah I can't even test my game I get a similar error message, I guess it must be this destroying issue since I'm destroying heaps near the start.
i have it too. when i destroy my player on purpose i get the error
I also have object to be destroyed at end of level same thing here
We need a .capx file to be able to solve the problem. Please share any affected .capx files on Dropbox, or email them to firstname.lastname@example.org if you would rather keep them private.