Repository navigation
Components aren't marked as local to scene. #111
Unanswered
CrazyIvanTR
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In a case like this when I have a scene for one entity and I'm instantiating, the components have shared arrays.
I'm not 100% sure on the steps to reproduce this but I have a scene which has an entity and that entity has a component with an array:
@export var remaining_cooldowns:Array[float]when I append anything to this array, it gets shared across all entities that have this component.
If I add 2nd line here in entity.gd:
then the issue is "resolved"

What I want to ask is, is this something that I should be doing here or not?
gecs plugin.cfg version="8.0.0"
All reactions