game crashes after compile

Discussion in 'Mapping Questions & Discussion' started by Cappucci, Oct 13, 2018.

  1. Cappucci

    Cappucci L2: Junior Member

    Messages:
    87
    Positive Ratings:
    4
    this problem just dropped out of the blue. Just today i compiled my map and nothing wrong happened, suddenly my game crashes all the time, both with the regular compiler and compilepal, with any config. I had cubemaps disabled and didn't help. I was just about to publish it. Help is appreciated.
     
  2. DrSquishy

    aa DrSquishy ???

    Messages:
    1,227
    Positive Ratings:
    802
    Try typing -condebug into your launch options, then open your map in tf2. Your console log will be pasted to a file called console.log in the /tf folder. See if anything abnormal pops up at the end
     
  3. Cappucci

    Cappucci L2: Junior Member

    Messages:
    87
    Positive Ratings:
    4
    it says: CNavArea::postLoad: Corrupt navigation data. Cannot connect Navigation Areas.

    what can i do?

    edit: fucking emojis smh
     
  4. DrSquishy

    aa DrSquishy ???

    Messages:
    1,227
    Positive Ratings:
    802
    Sounds like an issue with a broken nav mesh being packed into the map. Have you tried generating the nav mesh only once ingame instead of using the compiler?
     
  5. Cappucci

    Cappucci L2: Junior Member

    Messages:
    87
    Positive Ratings:
    4
    yeah, i guess. Is that bad?
     
  6. DrSquishy

    aa DrSquishy ???

    Messages:
    1,227
    Positive Ratings:
    802
    I've heard that navs generated from compile tools can break maps sometimes. Try going ingame and type 'nav_edit 1' and see if there are any extremely tight packed nav areas, or nav areas that might be in places that look like they have a very odd connection between the areas. I'm not too sure on nav mesh things but heard those can do it
     
  7. Cappucci

    Cappucci L2: Junior Member

    Messages:
    87
    Positive Ratings:
    4
    if by "ingame" you mean in the map, i kinda can't do that, because, y'know, game crashes

    should i just delete the nav file or what?
     
    Last edited: Oct 13, 2018
  8. Da Spud Lord

    aa Da Spud Lord Occasionally I make maps

    Messages:
    1,333
    Positive Ratings:
    896
    I would either delete the nav file, or move it out of your maps folder. This way the nav won't get detected or packed into the BSP. Recompile and run with condebug, and see if that works. If not, the issue lies elsewhere.
     
    • Thanks Thanks x 1
  9. Cappucci

    Cappucci L2: Junior Member

    Messages:
    87
    Positive Ratings:
    4
    worked! Thanks!