Search Unity

RequireComponentTag attribute not working in ECS?

Discussion in 'Entity Component System' started by Malmer, Apr 5, 2018.

  1. Malmer

    Malmer

    Joined:
    Nov 10, 2013
    Posts:
    18
    Couldn't get RequireComponentTag attribute (and RequireSubtractiveComponentTag) to work with ECS injected structs. Entity Debugger confirmed they were ignored. Looked at the source in the package cache and found it was only used in the context of jobs.

    Any plans to bring support to ECS injection aswell? Anytime soon? It is a pretty nice way to only keep the relevant things in the struct.