I’ve noticed that, the pointer returned by GetEntity() of a component will point to a decent entity during the Init() function of a component. But in Activate() the memory space pointed to is faulty.
Also you are unable to retrieve the Transform from this Entity to use the position of the Entity the component is attached to.
Are there reasons behind of this or is this a bug?
How are you supposed to get information about the Entity a component is attached to, or can components live without a Entity they are attached to? But in the sandbox the component is clearly attached to an Entity (that has its own Transform component).
Or is GetEntity() already deprecated code from Cry and you are not supposed to use it?
Questions over questions, stand by for answers or contribute some if you have some!