103 bug (103.2 too) disapearing sprites.

Bugs will be moved here once resolved.

Post » Wed Sep 19, 2012 5:18 am

Played around some more. Not sure if this is related at all or not, but this is the first time an error has pretty much ever popped up for this project:

Javascript error!
Uncaught TypeError: Cannot call method 'GetPosition' of
null
http://localhost:50000/Physics_behavior.js, line 12478

B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Wed Sep 19, 2012 11:04 am

I think I'm having the same problem, but it only occurs in the exported version of my game. My Objects suddenly become invisible, but they are still there. The really frustrating problem is that is works fine when I preview the layout.
B
5
Posts: 12
Reputation: 909

Post » Wed Sep 19, 2012 11:28 am

Okay, my disappearing object problem seems to be related to the minifier. I'll try to isolate it in a small capx for you.
B
5
Posts: 12
Reputation: 909

Post » Wed Sep 19, 2012 11:44 am

@supergodjesus - that error was reported in a different bug report and is fixed for the next build. It's to do with spawning or creating objects after a 'wait' action. Maybe that's what the affected projects are doing?
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Sep 19, 2012 12:45 pm

@ashley, now that you mention it; all my disappearing sprites are created in game.
B
42
S
11
G
5
Posts: 446
Reputation: 6,417

Post » Wed Sep 19, 2012 1:06 pm

@Sargas - the bug would have only affected sprites created or spawned after a 'wait' action. Is that what you were doing? Creating or spawning sprites in a normal event without using the 'wait' action should still be working fine.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Wed Sep 19, 2012 4:10 pm

Just to go with what Sargas mentions, all of the disappearing sprites and invisible sprites are all ones created in the game, not present from the beginning. So that would be why is seems to only effect the spawning monsters (not sure if it effects other spawning items, I have yet to notice this).

Though not all of the instances of spawning come after wait times. I am actually not entirely sure what event I have that spawns anything after a wait period. Most of my spawn events are just spawning a creature every random number of seconds. As I mentioned, I never seen that error before or since that one time.

Most of the times when I see monsters disappear or turn invisible, they come from the spawn events as mentioned above. Sometimes when I kill a monster or deploy a landmine or pick up an item (or any action that 'destroys' something) *all* spawned monsters instantly are 'destroyed'. I mentioned earlier that this can be reproduced somewhat easy, though not reliably, by letting multiple monsters wander onto screen and just shoot them. It seems to not work as much when there are a lot of monsters for some reason, but still, its random.

And this happens in both the exported version and the non-exported version straight from the editor.
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Wed Sep 19, 2012 5:04 pm

I think the best thing to do is wait for r104, which has a number of bug fixes which might be behind all this. We'll see if it's fixed, changed or the same then.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Thu Sep 20, 2012 4:38 am

I made this video of my game

http://www.youtube.com/watch?v=LNOnQ5BoHEg

At 5:20 you can see the first sprite disappear.
Then again at 5:33.
At 6:05 you can see an enemy get invisible when colliding with the floor.
Another one at 6:40

I died there, but the enemy at the end throws some objects that get invisible almost as soon as they are created.

B
42
S
11
G
5
Posts: 446
Reputation: 6,417

Post » Fri Sep 21, 2012 9:31 pm

I just tried out the latest Beta version, and the bug is still there and behaves just as before.
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

PreviousNext

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 7 guests