0
Fixed

OnTransformParentChanged does not trigger.

AiSard 5 months ago updated by Lazlo Bonin (Lead Developer) 4 months ago 3

OnTransformParentChanged does not trigger. 

Reproduction Steps in new project:

  1. Create two gameobjects, one with a Cube as a child
  2. Attach a flow graph to the Cube: OnTransformParentChanged > Log result
  3. [Play Mode] Trigger a SetParent to parent the Cube to a different gameobject
  4. [Play Mode] Manually move Cube to a different gameobject

Expected behaviour is OnTransformParentChanged triggering on both steps 3 and 4 (though I'm not 100% sure on the latter?). However it never triggers.

OnTransformChildChanged attached to the parent gameobjects triggers as normal, so it looks like it might just be OnTransformParentChanged that has a problem?

Bolt Version:
v.1.4.3.2f / v.1.4.4
Unity Version:
2018.3.14f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hi AiSard,

Thanks for the report, will have a look. I might just have forgotten a message hook somewhere, there are so many.