MAX_POINTS crash

Tutorials and discussions about Mapping - Introduce your own ones!
Post Reply
TheRoel-R
Novice
Posts: 28
Joined: Fri Aug 31, 2012 12:46 pm

MAX_POINTS crash

Post by TheRoel-R » Tue Jun 18, 2019 9:14 pm

A map I am currently working on together with some other mappers seems to crash after a while during online play with an error similar to this:
Critical_Error.PNG
Critical_Error.PNG (15.53 KiB) Viewed 302 times
I get I am hitting an UT-limit, which is 128000 points, but what exactly are points? Are these the vertices of brushes? Are this the vertices of the models of meshes? Something else?

I have seen this error before a couple of times on other maps, and it almost always seems to follow the same kind of pattern:
- The error is not reproducable offline or on LAN, or at least it is very unlikely
- The map be played fine online for a while, sometimes even for several minutes up to an hour, but at some point everyone will crash with a MAX_POINTS error, and you are no longer able to join the server without crashing. The server will have to be restarted to fix it.
- The number of people in the server may be related, at least, in my experience.

This is the first time it is happening on a map I am working on myself, however, so I don't really know where to start looking for a solution. It is probably someting dynamic or something that builds up over time. The map is pretty big (nearly at the node limit) so I know I'll probably have to simplify/reduce/remove some stuff, but I want to be working on the right thing so I won't remove stuff that was not necessary.

Could anyone point me in the right direction or give me some ideas what could be causing this error?

Red_Fist
Godlike
Posts: 1536
Joined: Sun Oct 05, 2008 3:31 am

Re: MAX_POINTS crash

Post by Red_Fist » Wed Jun 19, 2019 3:25 am

Look around for complex shape, or one huge brush, something like that.
Binary Space Partitioning

Higor
Godlike
Posts: 1771
Joined: Sun Mar 04, 2012 6:47 pm

Re: MAX_POINTS crash

Post by Higor » Wed Jun 19, 2019 8:10 am

You're gonna have to do a LOT of brush optimization and rebuilding.
ImageImage
Image unreal://23.111.157.138:7777
Image unreal://46.228.199.205:7788

TheRoel-R
Novice
Posts: 28
Joined: Fri Aug 31, 2012 12:46 pm

Re: MAX_POINTS crash

Post by TheRoel-R » Wed Jun 19, 2019 5:52 pm

Thanks for the input. I figured that would be the case, and I do still see some room for optimization, so I guess I'll have to put some effort into it now. But I just wanted to be sure that I do not spend a lot of time working on the brushwork whereas the solution would have been to remove a couple of meshes.

I am a bit curious though, what causes this error to trigger? It doesn't seem to happen offline, so it is probably something related to online play. In my mind brushes are something static, or at least static in shape if we factor in movers. It seems a bit strange to me that somehow something changes about the brushes over time what causes the crash. Is it caused by movers? A rogue brush? I probably have the wrong picture in my head though...

Red_Fist
Godlike
Posts: 1536
Joined: Sun Oct 05, 2008 3:31 am

Re: MAX_POINTS crash

Post by Red_Fist » Wed Jun 19, 2019 10:00 pm

I think it would crash offline givin the right load is going on, try adding 20 bots see what happens.
Binary Space Partitioning

Higor
Godlike
Posts: 1771
Joined: Sun Mar 04, 2012 6:47 pm

Re: MAX_POINTS crash

Post by Higor » Wed Jun 19, 2019 10:23 pm

Meshes have absolutely nothing to do with this.
This is a combo of overly complex bsp + movers.

You'll have to make the map a bit more 'seamless'.
ImageImage
Image unreal://23.111.157.138:7777
Image unreal://46.228.199.205:7788

Post Reply