Unsolved Map icons gone

Discussion in 'World Editor' started by Murokmakto, May 7, 2025.

  1. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    All map icons are gone. It does not display the name of the map but instead "ui.playmodes / "

    Apparently something got messed up... anyone got an idea what could be the cause?

     

    Attached Files:

    • 20250507111120_1.jpg
  2. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    Any help appreciated!
     
  3. mnwrk

    mnwrk
    Expand Collapse

    Joined:
    Nov 23, 2022
    Messages:
    27
    Try checking the integrity of your info.json
     
    • Like Like x 1
  4. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    Thanks for the reply but thats not the problem. The info.json should be setup correctly and it worked fine with the previous versions of BeamNG. I tested with older backup versions of the map where the problem didn´t occur when I made them to rule out any new errors but also those older backup versions don´t show any minimap icons.

    How does the game handle the paths etc on which the minimap icons are displayed? Did anything change in this regard with the new BeamNG version?
     
  5. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    Any help and tipps are greatly appreciated!
     
  6. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
  7. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    All map icons on my map are gone since 0.35. It only says "ui.playmodes".
    r46tza3ew6tz4.png
    Does anyone have an idea how to fix that?
     
  8. WhiteBird

    WhiteBird
    Expand Collapse

    Joined:
    Nov 3, 2022
    Messages:
    244
    Youre likely seeing an error in the game console that says "nan is not defined". If that's the case, try deleting your "facilities.facilities.json" file.
    If the issue is resolved after removing it, it means that something in that file was incorrectly defined.
     
  9. Murokmakto

    Murokmakto
    Expand Collapse

    Joined:
    Dec 24, 2023
    Messages:
    276
    Thank you for answering me! Yes I got indeed the "nan is not defined" warning in the console. However deleting the facilities.facilities.json didn´t fix it. Now I get the following error in the console:

    CEF.MainGEUI#local://local/ui/entrypoints/main/index.html#/menu.bigmap:1
    Uncaught ReferenceError: nan is not defined


    This is the content of the said /local/ui/entrypoints/main/index.html#
    Its in the rootfolder of the game and not related to my map. I can´t make any sense of it but maybe someone can?

    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>BeamNG Main UI</title>

    <!-- *** Connect to VueDevtools if required *** -->
    <script>
    const url = 'http://localhost:8098', loadTools = !!+new URLSearchParams(window.location.search).get("vuedevtools")
    loadTools && document.write('<'+`script src="${url}"></`+'script>')
    </script>

    <script>
    // if in vue dev mode
    const loadUIDevTools = !!+new URLSearchParams(window.location.search).get("vuedev")
    if(loadUIDevTools) {
    // listen to global error messages so we can intercept critical TDZ errors that sometimes happen with HMR
    window.onerror = function(msg) {
    if (msg.includes("ReferenceError: Vue is not defined")) {
    console.log("Possible TDZ error! Attempting recovery in 5 seconds...");
    setTimeout(function() {
    console.log("Reloading...");
    location.reload();
    }, 5000)
    return true;
    }
    return false;
    };

    // Connect to UI Dev Tools
    const uiDevToolsMainUrl = "http://localhost:8085", uiDevToolsUrl = "http://localhost:8085/devtools.js"

    const script = document.createElement('script');
    script.src = uiDevToolsMainUrl;
    document.head.appendChild(script);

    const script2 = document.createElement('script');
    script2.src = uiDevToolsUrl;
    document.head.appendChild(script2);
    }
    </script>

    <!-- HTMLDialogelement polyfill for Ultralight -->
    <script type="module">
    import dialogPolyfill from '../../lib/ext/dialog-polyfill/dialog-polyfill.esm.js';
    window.HTMLDialogElement = dialogPolyfill;
    </script>

    <!-- IntersectionObserver polyfill for Ultralight -->
    <script src="../../lib/ext/intersection-observer-polyfill/intersection-observer.js"></script>

    <!-- *** Wondering where all the JS files have gone? Look in resources.js! *** -->
    <script type="module" src="./resourceLoader.js"></script>

    <!-- These need to be outside the resource loader for... reasons -->
    <link type="text/css" rel="stylesheet" href="/ui/lib/ext/angular-material/angular-material-no-animate.min.css">
    <link type="text/css" rel="stylesheet" href="/ui/entrypoints/main/main.css">

    </head>

    <body ng-controller="AppCtrl as app" ng-show="app.uiVisible" use-lang-font="1" class="container">

    <md-content ng-cloak ng-if="app.uitest" layout="row" style="border:2px solid #aaa;position:absolute;width:{{app.uitestshow?'400px':'1.6em'}};height:200px;top:40%;right:0; transform:translateY(-100%); z-index:var(--zorder_index_mdcontent); padding:2px;font-family:monospace;border-radius:5px; overflow:hidden;">
    <div style="width: 1.2em; padding: 2.5em 0;" ng-click="app.uitestshow = !app.uitestshow">
    <span style="display: block; white-space: nowrap; transform-origin: 50% 50%; transform: rotate(90deg);">UI Debug Show/Hide</span>
    </div>
    <div layout="column" ng-show="app.uitestshow" style="flex-grow: 1;">
    <div layout="row" style="background-color:rgb(102, 35, 35);">
    <p flex=35>Current UI state:</p>
    <md-select ng-model="app.currentStateName" ng-change="app.switchState(app.currentStateName)" flex>
    <md-option ng-repeat="(idx, state) in app.states track by $index" ng-value="state.name">{{state.name}}</md-option>
    </md-select>
    </div>
    <div layout="row" style="background-color:rgb(102, 35, 35);">
    <md-button flex md-no-ink style="display:block; z-index:var(--zorder_index_prevnext)" class="md-button" ng-click="app.prevState()">&lt; previous</md-button>
    <md-button flex md-no-ink style="display:block; z-index:var(--zorder_index_prevnext)" class="md-button" ng-click="app.nextState()">next &gt;</md-button>
    </div>
    <div layout="row" layout-align="start center" style="background-color:rgb(36, 35, 102);">
    <md-checkbox ng-model="app.showApps">Show apps</md-checkbox>
    <div>Gamestate: <span style="color:rgb(68, 207, 68)">{{app.gameState}}</span></div>
    <md-button ng-click="app.reloadUI()">reload</md-button>
    </div>
    <div layout="row" layout-align="start center" style="background-color:rgb(102, 102, 35);">
    UI sound:
    <input id="bng-test-sound" type="text" value="event:>UI>Generic>Select" style="font-size: 0.8em; width: 18em;"/>
    <md-button bng-test-sound="bng-test-sound" style="min-width: unset;">test</md-button>
    </div>
    Gamepad Emulation: use the numpad keys 4862
    <div layout="row" layout-align="start center" style="text-transform: ''; background-color:rgb(35, 102, 35);">
    <md-button style="min-width: unset; display:inline!" ng-click="app.translationMarkCycle(1)">toggle translation icons:</md-button>
    <span ng-if="app.translationMark == 0">While console open</span>
    <span ng-if="app.translationMark == 1">Off</span>
    <span ng-if="app.translationMark == 2">Quiet</span>
    <span ng-if="app.translationMark == 3">Verbose</span>
    </div>
    </div>
    </md-content>
    <div ng-cloak id="reconnectScreen" ng-if="!$root.ingame && $root.connectionState != 'open'">
    <div class="reconnectScreenText">
    <center>
    <div style="font-size:2vh;margin:3vh;">... reconnecting ...</div>
    </center>
    </div>
    </div>

    <!-- UI LOADING - broken UI fallback only -->
    <div ng-if="!app.uiReady" style="z-index:var(--zorder_index_broken_ui_loading); position: absolute; top:0;left:0;right:0;bottom:0;background: black; color:white; font-family: Roboto Bold;" layout="column" layout-align="end center">
    <h1 style="">
    Loading UI...
    </h1>
    <div style="">
    Mods can slow down this process or may have broken the game (<a href="http-external://go.beamng.com/uibroken" style="color:var(--bng-orange)">click here for help</a>)
    <br>
    &nbsp;
    </div>
    </div>

    <!-- .............. waiting screen overlay .............. -->
    <div ng-cloak ng-if="app.isWaiting" style="width:100%; height:100%; background: rgba(0, 0, 0, 0.6); position: absolute; z-index: var(--zorder_index_waiting_screen);" layout="row" layout-align="center center">
    <ng-md-icon class="material-icons" style="font-size: 20rem; color: white; text-shadow: -1px 1px 8px #DB7B00, 1px -1px 8px #DB7B00; z-index:var(--zorder_index_waiting_screen_icon);">
    access_time
    </ng-md-icon>
    </div>

    <!-- menu button for browser ui -->
    <div ng-cloak ng-if="!app.mainmenu && !app.ingame && !app.currentStateName.startsWith('menu')" style="position: absolute; z-index: var(--zorder_index_waiting_screen_icon);">
    <div class="dashBrdButton" ui-sref="menu" style="background-color: #555c; cursor: pointer;">
    <span class="dashBrdText">{{:: 'ui.common.menu' | translate}}</span>
    </div>
    </div>

    <game-indicators-layer></game-indicators-layer>

    <mission-popups>
    <mission-info></mission-info>
    </mission-popups>

    <!--<game-context-mini-info></game-context-mini-info>-->

    <!-- fullscreen LOADING view, covers the real view -->
    <div ng-cloak style="position:absolute;top:0;left:0;right:0;bottom:0;z-index: var(--zorder_index_fullscreen_loading)" ng-class="app.transitionAnimation" ui-view="loader" ng-show="$state.current.loaderVisible"></div>
    <!-- fullscreen DEFAULT view -->
    <div ng-cloak class="UI-Flex-Wrapper" style="position: absolute; top:0; left:0; right:0; bottom:0; z-index: var(--zorder_index_fullscreen_default); display: flex; flex-direction: column; align-items: stretch; justify-content: start;">
    <!-- Menu Dashbar goes here -->
    <dash-menu ng-controller="MenuController as menuCtrl" ng-if="('menu' | includedByState) && (($state.current.name !== 'menu.mainmenu') || !app.mainmenu)">Dash menu goes here</dash-menu>

    <div class="fullscreencontent" style="flex: 1 1 auto; position: relative; pointer-events: none;" ng-class="app.transitionAnimation">
    <bng-career-banner></bng-career-banner>
    <!-- All the useful content goes here to cover up all the apps without window resize -->
    <!-- in theory this line: '!app.mainmenu &&' should be added to the ng-show, but apparently that breaks displaying of some apps (old nav, radial1,2) -->

    <app-container id="mainContainer" ng-class="{ 'uiapps-hidden': !app.showApps }" style="position:absolute !important;top:0;right:0;bottom:0;left:0; z-index: var(--zorder_apps_default);">
    <canvas id="alignment-canvas" width="1" height="1"></canvas>
    <bng-app style="display:none"></bng-app>

    </app-container>
    <menu-content style="position:absolute !important;top:0;right:0;bottom:0;left:0; z-index: var(--zorder_index_menucontent);" ui-view></menu-content>
    </div>

    <div class="navbar" ng-if="app.ingame && !('menu.mainmenu' | isState) && ('menu' | includedByState)">
    <!-- menuNavBar contents (do not remove, see its code) -->
    <menu-navbar></menu-navbar>
    </div>
    </div>

    <!-- force background to reload in order to apply the mode -->
    <fancy-background class="fancyBackgroundFill" ng-if="app.mainmenu && $state.current.name === 'menu.mainmenu'"></fancy-background>
    <fancy-background class="fancyBackgroundFill" ng-if="app.mainmenu && $state.current.name !== 'menu.mainmenu'"></fancy-background>
    <!-- .............. popups overlay .............. -->
    <bng-intro-popup></bng-intro-popup>
    <bng-dialog></bng-dialog>
    <div class="ui-sheet" ng-if="app.uiSheetActive" bng-blur="true"></div>
    <div id="vue-app"></div>

    </body>
    </html>
     
  10. pigeonperson

    pigeonperson
    Expand Collapse

    Joined:
    Nov 22, 2023
    Messages:
    881
    I had this on and off a while ago, no clue what causes it. Then my motherboard died so I did a fresh install on my new computer and haven't had that problem yet.
     
  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