Solved Map Hard-Crashes Game

Discussion in 'Mod Support' started by DuneWulff, Feb 25, 2019.

  1. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    Something has recently rendered my WIP map completely broken.
    I added a new ground texture, saved when it looked decent, and the game now crashes to desktop while loading the map.
    I've done it dozens of times before with no issue. In fact, I don't think its ever crashed on me before yesterday. Yesterday, however, the game crashed upon doing much of anything and saving that new texture completely broke even loading the map.

    I'm truly at a loss, I figured it was due to the new world editor being in production but @nekitu ruled that possibility out.
    Any help is appreciated.

    Pardon the file size, its a bigg'un ;)
    Tons of extra stuff in it, although nothing that should break the game...
     

    Attached Files:

  2. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    Okay, error has changed from the ever-helpful series of 0s to a status_heap_corruption error.
    I'll try verifying integrity and seeing if that does anyhting.
    --- Post updated ---
    Well this sucks.
    I got the game to load using an old terrain file.
    Looks like I'm building it all back from scratch. :/
     
  3. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,268
    ...That really sucks? Trial and error I guess?

    I suppose just constantly save the last save and current save in a folder, and see if that update works? All I can think of.
     
  4. krallopian

    krallopian
    Expand Collapse
    NC114-85EKLS
    BeamNG Team

    Joined:
    Dec 5, 2013
    Messages:
    801
    My original map did the same thing. I deleted tyre terrain and it loaded fine. I rebuilt the whole map but it was never just right. Fortunately the roads, shapes, trees etc were still all there to guide me but.. Eugh makes me sick to my stomach just remembering it. Sorry this happened to you man. I have 700gb of backups of this current map, never going through that again!
     
  5. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    i was thinking the crash was happening because of error in materials.cs

    But it's because the gameengine only support 31 materials for the terrain (32th is holes)
    I will get back to you soon, we should fix that as there is no warning/error and the torque3d terrain file support more (254)
     
    • Informative Informative x 1
  6. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    Well that would explain why the game was so unhappy with adding one terrain layer. I thought that was strange.
     
  7. thomatoes50

    thomatoes50
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 31, 2013
    Messages:
    722
    Yes it was a bug. now it's fixed and will print an error.

    If you need to "recover a terrain" you can send it to me via pm and I will give you the export files




    The fix will probably not be in an hotfix, you will need to wait for next update
     
    • Like Like x 1
  8. DuneWulff

    DuneWulff
    Expand Collapse

    Joined:
    Apr 25, 2016
    Messages:
    1,034
    Well, I've already remade most of the terrain by hand, but I appreciate your efforts!
    Bugs are bugs, they happen. It's all a learning experience :p
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice