4.7p5 Lightmass crashed - Assertion failed

Assertion failed: (Index >=0)&(Index < ArrayNum) [File:d:\BuildFarm…\Source\Runtime\Core\Public\Containers\Array.h][Line: 679]
Array index out of bounds: 4753 from an array of size 4753

KERNELBASE.dll!UnknownFunction…

I have put foliage to scene and delete this and now have a problem with building. How to fix this?

There are a couple of things I’ll suggest to start with that may help.

Open SwarmAgent.exe (Unreal Engine > [Engine Version] > Engine > Binaries > DotNET )

When you double click this it will place an icon in your task manager. Open that. Go to the CACHE drop down in the menu bar. Click CLEAN and then VALIDATE.

Also, Go to this folder location (may be a hidden folder on your computer so you’ll need rectify that before you can see it) C: > Users > [ Computer Name ] > AppData > Local > UnrealEngine >

Delete everything in this folder. Make sure to have the editor closed otherwise some errors will be thrown that you cannot delete files.

Let me know if these work for you.

Tim

Thanks! CLEAN + VALIDATE in the SwarmAgent did the trick for me.

Great! I’m glad that worked for you. :slight_smile:

Thanks works for 4.6 projects for 4.7 not work well i provide a link to project so You will have a good base to solve the problem.

Would you mind posting the link again. I don’t see one.

That’s great that it fixed for 4.6. Can you try building lighting with 4.7 again and post the logs here for the build. When you open Swarm Agent go to the settings and turn on Verbose logs so it will give more information.

The logs are located in the folder I linked above to delete. Attach that once it’s run the logging.

Thanks!

Tim

This worked for me as well. I’ve been working in 4.6, created a 4.7 copy and the build lighting feature would not work. Closed down Swarm agent, opened it from 4.7, cleaned/validated and it works.

thanks

Clean and validate worked perfect for me on 4.19.2 ^^ thanks!

Opening SwarmAgent Never works, i see it running in the task manager but the application never opened, this happened with 4.17, 418, and 4.19

Opening SwarmAgent Never works, i see it running in the task manager but the application never opened, this happened with 4.17, 418, and 4.19

thanks it worked out

This solved the problem for me as well. Thank you.