Search Unity

Bug LocalToParentSystem causes stackoverflow for nested hierarchy

Discussion in 'Entity Component System' started by RamType0, Dec 25, 2020.

  1. RamType0

    RamType0

    Joined:
    Sep 11, 2018
    Posts:
    67
    LocalToParentSystem causes stackoverflow for nested hierarchy.
    It is because the system uses recursive call for solving nested hierarchy.
    recursive call would cause this kind of stackoverflow ,and also prevents inlining .
    Please stop using recursive call for solving transform hierarchy.