Assertion failed: Result + NumToAdd <= MaxElements [File:Runtime\CoreUObject\Public\UObject/UObjectArray.h] [Line: 538]
Maximum number of UObjects (65536) exceeded, make sure you update MaxObjectsInGame/MaxObjectsInEditor/MaxObjectsInProgram in project settings.
Engine.ini中增加下面这段
[/Script/Engine.GarbageCollectionSettings]
gc.MaxObjectsInEditor=100000000
gc.MaxObjectsInGame=100000000