25.01.2015, 18:12
This happened to me where i forgot i had a stock "LoadObjects" under OnGamemodeInit that loaded Dynamic objects, and then i placed some other CreateDynamicObject lines under OnGamemodeInit, instead of the stock.
It also might be because you're using too many normal objects with too many Dynamic ones, and are therefore hitting the limit.
You can have 1000 objects with CreateObject.
But CreateDynamicObject doesn't just remove the limit, it works by switching the objects that players can see, and thereby having over 1000 objects, while players can only see 500 or something.
So therefore if you have alot of normal objects, it will decrease the dynamic objects that can be switched.
Etc. no normal objects, and a player is close enough to see 200 new objects in an area. (A bit unrealistic, but lets just say that)
And then there's 1000 objects with CreateDynamicObject.
1000 Dynamic Objects that are invisible. (Doesn't matter to the limit)
200 Dynamic Objects that can be seen by the player. (Counts towards the limit)
But if you have 800 normal objects, and a player in an area with 300 dynamic objects, it wont work.
800 Normal Objects that are always visible. (Counts towards the limit)
300 Dynamic Objects that can be seen by the player. (Counts towards the limit)
= 1100 objects, while the limit is 1000, thereby making less Dynamic Objects so they cannot be seen.
Basically, using many normal objects while using Dynamic objects can be a mess.
It also might be because you're using too many normal objects with too many Dynamic ones, and are therefore hitting the limit.
You can have 1000 objects with CreateObject.
But CreateDynamicObject doesn't just remove the limit, it works by switching the objects that players can see, and thereby having over 1000 objects, while players can only see 500 or something.
So therefore if you have alot of normal objects, it will decrease the dynamic objects that can be switched.
Etc. no normal objects, and a player is close enough to see 200 new objects in an area. (A bit unrealistic, but lets just say that)
And then there's 1000 objects with CreateDynamicObject.
1000 Dynamic Objects that are invisible. (Doesn't matter to the limit)
200 Dynamic Objects that can be seen by the player. (Counts towards the limit)
But if you have 800 normal objects, and a player in an area with 300 dynamic objects, it wont work.
800 Normal Objects that are always visible. (Counts towards the limit)
300 Dynamic Objects that can be seen by the player. (Counts towards the limit)
= 1100 objects, while the limit is 1000, thereby making less Dynamic Objects so they cannot be seen.
Basically, using many normal objects while using Dynamic objects can be a mess.