My fixed data arrays not working quite right...

I can’t seem to get arrays working in IcomponentData, this one, when I access ts.pointx, it is the same value for all entities with DroneDataEntity. using UnityEngine;using Unity.Entities;[GenerateAuthoringComponent]publi - Pastebin.com I thought I’d have my MOBA launched today, but some very minor details hung me out

When I launch this MOBA, I’ll do a BOSS youtube on how to use ECS very easily even on already existing GameObject games!

Solution: I tried IComponentData off the codemonkey tutorial, but it was throwing errors.

Revisiting it, Yeah, that fixed it! The problem I had was my .foreach had 9 elements and I needed more… But you are limited to 9 which isn’t fun. I ditched one I didn’t use anymore, and put it in. My last attempt, I was trying to nest a buffer inside an icomponentdata which is a nono.

Glad that you’ve managed to figure it out. For future reference, note that you can declare a custom Entities.ForEach delegate and extension method if you ever need more arguments:

https://docs.unity3d.com/Packages/com.unity.entities@0.17/manual/ecs_entities_foreach.html#custom-delegates