Bug Issue: recycle actor bug (maybe) (most likely) (perhaps) :D


Pages: 1

corbanwolf

  • Level 3 Stencyler
April 29, 2019, 06:52:44 am
There is an actor with custom behaviour but with changed boolean attribute, It makes that actor to move left when creating.
There is a spawn actor that spawns the first actor but with standard boolean attribute so it moves right when creating.
However, when the first actor dies, the next created actor doesn't have standard behaviour boolean attribute. It has the same attribute of the actor that just died. You can check it by deleting the actor on the far right.
« Last Edit: April 29, 2019, 07:22:49 am by corbanwolf »


New attachment added by corbanwolf - April 29, 2019, 06:53:03 am


Luyren

  • Master Stencyler
  • *
April 29, 2019, 07:45:05 am
b10321, running on Windows 10.
Issue happens on Flash, HTML5 and Standalone

Having instance customization in an actor placed in the scene designer, killing that actor and creating it again will create the actor with the settings from the instance customization, rather than its "default" settings.

Sample game (Instance Spawn): just test. The first actor is placed with instance customization (changing the default text to draw) and die after 1 second. Afterwards, a scene event spawns the same actor every 2 seconds. The default text is "Hallo, Freuden", and the instance customized one is "Jag vet ingenting".

If you go to the scene event and change the timer to less than 1 (I tested with 0.8 ), you will note that an actor is created before the placed one is killed. This new actor has the default settings. But while this with the default settings is on the scene and another one is created, this second created one will have the settings from the instance customization.
« Last Edit: April 29, 2019, 07:47:26 am by Luyren »


New attachment added by Luyren - April 29, 2019, 07:45:27 am


Justin

  • Master Stencyler
  • *
June 27, 2019, 07:08:55 pm
Fixed in b10386.
  • Status changed from New to Resolved
  • Issue Assigned from (none) to Justin


Luyren

  • Master Stencyler
  • *
June 28, 2019, 07:58:52 am
b10398 fix confirmed.


Issue updated by Justin - December 12, 2019, 05:11:23 pm
  • Tags added: 4.0.2


Pages: 1

Details

  • Reported
    April 29, 2019, 06:52:44 am
  • Updated
    December 12, 2019, 05:11:23 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Resolved
  • Priority
    Normal
  • Version
    Stencyl 3.5, 3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Engine

Tags


Attachments

* test.stencyl (198.96 kB - downloaded 1075 times.)
* Instance Spawn.stencyl (187.62 kB - downloaded 1042 times.)