Dynamically create objects with component is invalid replication problem.

It won’t work either when i try to change it like this: