- Home /
Enquiry on what are the maximum number of components for a specific object in Unity
What are the number of components that a specific object can have in Unity?
I am struggling to integrate UNITY and GOAP (Goal Oriented Action Planning) which requires a huge number of action cases to describe domains (in PDDL terms it is the same as Domain.pddl). Roughly, the action cases (components) are hundread of millions (2.8 million C# scripts). So, I am going to generate the action cases by looping a script program. Now, my question is that would these huge number of actions cases acceptable by UNITY? If you have any experiences on the subject please give me some comments. Thanks in Advance. Kyeong S. Kim
Answer by spidermancy612 · Jan 15, 2018 at 04:27 AM
As far as I am aware there is no limit. However you do have a limit in terms of memory on your machine. I suggest not adding that many components to any object.
lol "i suggest not adding 2.8 million scripts to an object."
It's generally a good rule to live by :P