Difference between revisions of "Unreal Engine Entity Limit"

From Satisfactory Wiki
Jump to: navigation, search
(Included more information regarding the uobject engine limit due to a LOT of misinformation in the community as well as a warning of side effects when increasing this limit /Snutt)
Tag: Visual edit
(added reflist and nav)
Line 1: Line 1:
{{Cleanup|Turn into a proper article, possibly create a separate page for config edits that includes this, multiplayer bandwidth and graphics etc.}}
+
{{Cleanup|Turn into a proper article, either create a separate page for config edits (that includes this, multiplayer bandwidth and graphics etc.) or convert this page to a tutorial}}
 
When creating a “megabase“ or distributed bases that span the entire map, you may run into a game crash with an error similar to the following:
 
When creating a “megabase“ or distributed bases that span the entire map, you may run into a game crash with an error similar to the following:
   
Line 16: Line 16:
 
gc.MaxObjectsInGame=100000000
 
gc.MaxObjectsInGame=100000000
 
Please note that it is imperative that you back up your save files regularly if you chose to do this as it can lead to save file corruption and various other issues in the game.
 
Please note that it is imperative that you back up your save files regularly if you chose to do this as it can lead to save file corruption and various other issues in the game.
  +
  +
== References ==
  +
{{Reflist}}
  +
  +
{{EngineerNav}}

Revision as of 22:07, 10 January 2021


This article may need cleanup to meet quality standards.
Please help improve this if you can. The Discussion page may contain suggestions.
Reason: "Turn into a proper article, either create a separate page for config edits (that includes this, multiplayer bandwidth and graphics etc.) or convert this page to a tutorial"

When creating a “megabase“ or distributed bases that span the entire map, you may run into a game crash with an error similar to the following:

Assertion failed: Result + NumToAdd <= MaxElements [File:D:\ws\SB-200518130817-657\UE4\Engine\Source\Runtime\CoreUObject\Public\UObject/UObjectArray.h] [Line: 511] Maximum number of UObjects (2162688) exceeded, make sure you update MaxObjectsInGame/MaxObjectsInEditor in project settings.

This limit is imposed from Unreal Engine's memory management implementation and refers to data objects, not in-game objects.

The default limit set in Unreal Engine is 2,162,688 UObjects[1]. This can, however, be increased by changing the 'Engine.ini' file in the Game’s config folder.

Appending the following will increase the entity limit:

[/Script/Engine.GarbageCollectionSettings]

gc.MaxObjectsInEditor=100000000

gc.MaxObjectsInGame=100000000

Please note that it is imperative that you back up your save files regularly if you chose to do this as it can lead to save file corruption and various other issues in the game.

References