1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.30 Bug Reporting thread
    Solutions and more information may already be available.

World Editor has stopped saving map on Save As

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by geobeck, Sep 19, 2021.

  1. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    I've been creating new maps by using Save As on existing maps, starting with vanilla maps. Yesterday, Save As stopped working.

    Typically, Save As creates a complete copy of the map and changes most of the file paths in key json files. As of yesterday, all it saves is the main.decals.json file.

    My normal steps to save a map:

    1. Open the map I want to use as a base (today it's the vanilla template).
    2. Hit F11 to open World Editor.
    3. Click File > Save As
    4. In the file dialog, type a new folder name in the appropriate field. (See screenshot)
    5. Click Create Folder. The file paths in the main box disappear as the file dialog enters the new folder.
    6. Click Open. ...(Why "Open"? Why not "Save" or "Create"?)

    This normally results in a few seconds of CPU activity as the original game folder is copied to the new path under my /levels/ folder, but now the dialog closes instantly, and I just get the above-mentioned decals file.

    Did I trigger this somehow? I've done a full cache cleaning, but it's still misbehaving.

    bng_bug20210919.png bng_bug20210919-2.png
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    It literally never worked properly for me, I thought it was always broken, so I'm surprised to see that it used to work for someone
     
  3. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    Do you normally copy folders, then change all the paths in your text editor?
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Yeah that's what I do, and what I thought everyone else does
     
    • Like Like x 1
  5. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    In that case, I think I'll take the opportunity to start fresh with something completely blank, maybasic starting point.e smallgrid or the vanilla template. It will be good practice to build data files from a really basic starting point... although maybe I should start using 1.5 materials before the old ones get phased out.
     
  6. nekitu

    nekitu
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 18, 2018
    Messages:
    87
    Sadly Save As is a bit sketchy because the way asset file formats are organized. We might even remove it until we have an asset system that can solve all of those internal paths properly.
    Why "Open"? Why not "Save" or "Create"? - because the dialog is a generic one, granted we could make some button customization based on the operation.
    So probably we will remove Save As for now, leaving the only option to manually copy a folder and replace references by hand.
    This did not work properly in old editor either, so it was sort of a cross-fingers operation, since it might work for simpler levels.
     
    • Like Like x 1
  7. geobeck

    geobeck
    Expand Collapse

    Joined:
    May 1, 2014
    Messages:
    218
    Interestingly enough, the first map this failed with was smallgrid.

    I'm playing around with a copy/paste of the template map now; very few paths to rename, so it's a good sandbox.
     
  8. nekitu

    nekitu
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 18, 2018
    Messages:
    87
    Yes, template map is a good starter.
     
  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