Bug Issue: Instance Customization not resetting on scene reload


Pages: 1

Luyren

  • Master Stencyler
  • *
March 22, 2024, 05:05:22 pm
b12194, on Windows.

1) One actor with one behavior with non-hidden attributes. The attribute values were configured in the actor type's behavior page.

2) Place the actor on the scene designer, turn on instance customization for it and change the values. Everything works fine so far, including in the game.

3) If I turn off instance customization and back on again, the customized values on the scene designer are kept. This makes sense in case I turn it off by mistake, so I don't lose the customizations made.

4) The issue happens if I turn it off, reload the scene and turn it back on again. In this case the values configured on 2) are loaded again. I've seen a case where the user switched values in the actor type's behavior tab, turned off customization and reloaded the scene in order to get the new values onto the actor instance, then turned it back on again to further customize it for that scene. Took a while to figure out the instance customization was using older values.

Removing and replacing the actor on the scene designer does the trick. I'm unsure how this scenario was handled in previous versions.

Sample game attached. The behavior draws values on screen.


New attachment added by Luyren - March 22, 2024, 05:05:37 pm


Luyren

  • Master Stencyler
  • *
March 27, 2024, 01:16:20 pm
Found out a new detail: it seems whenever you turn on instance customization, the actor will have the behaviors it originally had when you first placed it on that scene.
1) Place an actor on a scene
2) Close the scene
3) Go to its actor type, and add a behavior
3) Go back to the scene and turn on instance customization. Its behavior list will not contain the new behavior.

With instance customization off, the actor works just like its actor type.


Pages: 1

Details

  • Reported
    March 22, 2024, 05:05:22 pm
  • Updated
    March 30, 2024, 06:28:51 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Scene Designer

Tags


Attachments

* AAAAA.stencyl (599.27 kB - downloaded 1466 times.)