Bug? Actor Destroying itself without any reason
BigDave
Member Posts: 2,239
I am having this unexplained able bug right now..
I spawn an actor(enemy) every 3 seconds after a certain progress state(table value) is reached.
The spawning takes place perfectly as the debug log proofs.
But the actor only appears for a millisecond in the scene before disappearing/beeing destroyed.
So I though maybe I have a rule I forgot about and in order to test that I de-activated all rules within the spawned actor.
The actor is spawned on a blank scene background and has no contact to any other actor except the particle snow.
So I am pretty sure he can't collide with anything.
Still the problem persists.
Any ideas?
Comments
Additionally:
+It seem to not matter which actor is spawning the enemy it always fails to keep it alive sometimes he is not even visible.
+This also happens if there is no condition at all the actor does not appear/persist
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Ha. If I delete all rules within the enemy the actor persists after spawning.
Meaning the turning off of rules is bugged.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
hm i pasted the rules back and it still worked so the issue is still magical too me..
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Sounds indeed like turning off the rules is bugged, then. Be sure to make a bug report!
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline The bugs I experience right now are not consistent.
I kept investigating.
And found a reproducible issue which can be the source of all other unexplainable behaviours.
I made a new project file/blank
making basic actor 1 and 2
placing 1 in the scene with the inherit behaviour to spawn actor 2
if table value x = 0 (which i setup too)
REPRODUCEABLE BUG:
When I hit preview button the preview button form within the actor the scene sometimes remain empty!!
IF you hit the preview button from the current scene the problem seem not to appear
It appears roughly every second time. I use Mac OS el Captain 10.11
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
I have something similar happen, this one actor that is a projectile, will not spawn towards the left, but only if the actor spawning them is facing right.
If it is true about a bug regarding "off" rules, this could be the source, as I have off rules within the actor meant to destroy it when meeting certain conditions.