First path_track is causing map to crash?

Kube

Not the correct way to make lasagna
aa
Aug 31, 2014
1,342
1,850
TF2 is crashing whenever I join the Red or Blu team on my map (NOT when I join Spectator). Through selectively hiding items, I've narrowed the source of the crashes down to one entity: the first path_track in the cart track ("sspl_path_start").

No compile errors, no runtime errors. The entity setup is copied straight from ABS, with path_tracks hovering 40HU over the ground. I'm able to fly throughout the map when I join Spectator mode (and see the cart in the correct starting position), but crash whenever I select a class.

I believe the crashes first began when I fixed a missing connection between two path_tracks. Before I fixed this, I had the cart tracking working up until the gap.

Another caveat, I've compiled with only the necessary payload entities/one spawn location, and the crash still happened.

Edit: This is what the game looks like when it freezes.
 
Last edited:

Kube

Not the correct way to make lasagna
aa
Aug 31, 2014
1,342
1,850
Try copying everything over to a new vmf, and if that doesn't work try rebuilding the path logic from scratch.

@theatreTECHIE Copying over the map didn't work. I'm probably going to try rebuilding the path logic, but it won't be happening tonight.
 
Last edited:

AsG_Alligator

qhull precision error
aa
Aug 5, 2016
620
1,223
Look for any track loops. If you have a loop in the track (path_tracks that point towards others preceeding it) the game will crash/freeze when gamemode logic is initiated (eg. after selecting a class).

I had that issue in Enclosure. Stage 1 played fine, but when round switched to stage 2 game would freeze (thats where I had a loop).
 

Kube

Not the correct way to make lasagna
aa
Aug 31, 2014
1,342
1,850
@AsG_Alligator I took a close look at individual path_tracks, and stumbled upon a loop. The map is functioning now! So to that end, thank you.