TF2 map crashes to desktop about 15 to 20 seconds after launching it without warning

Discussion in 'Mapping Questions & Discussion' started by toxxicxmodz, Mar 26, 2016.

  1. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    I built a simple test map (koth) with lighting, spawnpoints, spawnrooms, everything and if I load the map from the TF2 client, my TF2 crashes to desktop without warning. If I run it from SRCDS, I get the message srcds.exe has stopped working. I look in the console of the server and there are no error messages. I put my compile log through Interlopers.net and here is the only error it gave me:

    can't load skybox file skybox/sky_dustbowl_01 to build the default cubemap!
    Description:
    You have entered a skybox texture which doesn't seem to be valid. Make sure you don't specify the last three letter (_UP, _DN, etc) of any skybox texture you use. You may also need to fix your vmt files if they are broken. It may also be caused by compiling a non-HDR skybox texture.

    Solution:
    WIKI: Skybox


    The affected object may not work/appear properly

    This is my first time making a map and I really appreciate anyone who helps me out! Thank you!
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    991
    Positive Ratings:
    328
    the skybox error appears with every TF2 skybox. It's harmless you can ignore it. Your issue is something else
     
  3. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
  4. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    It may be an unrelated issue like your custom hud, your mods, or maybe even physics objects if your map had any. Does it still crash in regular servers?
     
  5. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @soosh What do you mean as in regular servers? I made a dedicated server and the server crashed when I was playing, but my gane didn't
     
  6. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    Regular servers meaning any other server -- valve, community, anything else. Sorry for the poor wording. Also, you just said it crashed to desktop, that means your game crashed.
     
  7. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @soosh I currently only can run the map in my game or on a dedicated server. The map only crashes to deskop when I open my TF2 game and type "map test_room" and play it that way instead of using a sever.
     
  8. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    First, try validating your game cache to make sure the issue is with your map and not corrupt game files. If it's the map, use Alt+P in Hammer to check for any problems, and then go through all your entity I/O to see if you have any logic errors (which may not be recognized as errors by Hammer, but can still crash at runtime).

    There are several other reasons why a map would crash, but I'd only be shooting in the dark without a vmf to look at.
     
    • Agree Agree x 1
  9. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @killohurtz Ok, I did as you said and my I/O's do not point to anything that doesn't exist. I pressed ALT+P and got "There is no player startpoint." I fixed this error by placing a info_player_start in the center of the map, but can players spawn on this? If they can, won't this kind of break my map? This also has seemed to have fixed the crashing issue.

    UPDATE: This actually did not fix the crashing issue.
     
  10. theatreTECHIE

    aa theatreTECHIE Yet another Techie for the net...

    Messages:
    379
    Positive Ratings:
    397
    You don't need a player start in TF2 maps, so you can just ignore that error.
     
  11. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    Oh, I suppose I should have clarified that; the missing player start error can be safely ignored because TF2 uses info_player_teamspawn, not info_player_start. The latter is meant for single player Source games, so including one in your TF2 map or leaving it out won't affect anything.

    Are you willing to provide the vmf so I can take a look?
     
  12. theatreTECHIE

    aa theatreTECHIE Yet another Techie for the net...

    Messages:
    379
    Positive Ratings:
    397
    @killohurtz toxxicxmodz updated to say that it didn't fix the issue.

    @toxxicxmodz the easiest thing to do is to at this point is to link us your vmf so that we can look at it. Other than that all of our guesses at what it might be are just shots in the dark.
     
  13. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
  14. theatreTECHIE

    aa theatreTECHIE Yet another Techie for the net...

    Messages:
    379
    Positive Ratings:
    397
    I compiled the map, and it ran fine for me, including when I used the map [mapname] command. Out of curiosity, what are your system specs?

    One thing I did notice though was that you had a large skybox-textured box around the whole map. Don't get into the habit of doing this, as it can slow performance and take up more storage space than is needed.
     
  15. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    998
    Positive Ratings:
    1,135
    The vmf looked fine to me, so I compiled it, ran around and tested all the doors and logic, and never crashed. Are you sure you don't have corrupted game files that need to be validated, or some faulty custom hud or mod like soosh mentioned earlier? And you're compiling this map in a Hammer configured for TF2?
     
  16. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @theatreTECHIE @killohurtz Yes, Hammer is configured for TF2. I plan on changing the skybox later as it was only a quick test. I will remove all custom files and try again in a second, but I did do a fresh reinstall of TF2 before adding my custom files back in. My System specs are:

    Intel i5 2500K
    GTX 980Ti
    Dual monitors, one running 1920x1080, one running 2560x1440, TF2 is running on the 1440p one.
     
  17. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @theatreTECHIE @killohurtz Does it matter that I am using nav_generate and then tf_bot_add 11 in the console? Also, I removed all custom content and I still crash. UPDATE: Not spawning any bots has seemed to fix the issue? Could it be all of the explosions, projectiles, and bullets all in one small area thats causing this?
     
    Last edited: Mar 26, 2016
  18. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    If you try to generate a nav mesh (or create one manually) while there are AI bots in the map, the game can crash.
     
  19. toxxicxmodz

    toxxicxmodz L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    @Muddy Ok, test_room is my map name,so I went to SteamApps/common/TF2/tf/maps and deleted test_room.nav, launched TF2, loaded test_room, typed nav_generate, disconnected, quit to desktop, relaunch TF2, load test_room, add 11 bots, play for 20 seconds, crash. It appears this is not the issue.
     
  20. Clarity

    Clarity L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    i have this same issue, did you solve it?