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.

Error! Help?

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by MCServerKing, Sep 21, 2013.

  1. MCServerKing

    MCServerKing
    Expand Collapse

    Joined:
    Sep 21, 2013
    Messages:
    2
    Hello, I just installed BeamNG. When I open it, theres an warrning that no light manager can be set. Then, the programm crashes. Help please!
     
  2. Mr. Teapot

    Mr. Teapot
    Expand Collapse

    Joined:
    Aug 24, 2013
    Messages:
    49
    Did you try installing it again?
     
  3. MCServerKing

    MCServerKing
    Expand Collapse

    Joined:
    Sep 21, 2013
    Messages:
    2
    Re: Re: Error! Help?

    Yes. Buth theres the same message. How do I get this lightmanagers to work?
    Thats what I found in the script:

    function initLightingSystems()
    {
    echo( "\n--------- Initializing Lighting Systems ---------" );

    // First exec the scripts for the different light managers
    // in the lighting folder.

    %pattern = "./lighting/*/init.cs";
    %file = findFirstFile( %pattern );
    if ( %file $= "" )
    {
    // Try for DSOs next.
    %pattern = "./lighting/*/init.cs.dso";
    %file = findFirstFile( %pattern );
    }

    while( %file !$= "" )
    {
    exec( %file );
    %file = findNextFile( %pattern );
    }

    // Try the perfered one first.
    %success = setLightManager( $pref::lightManager );
    if ( !%success )
    {
    // The perfered one fell thru... so go thru the default
    // light managers until we find one that works.
    %lmCount = getFieldCount( $lightManager::defaults );
    for ( %i = 0; %i < %lmCount; %i++ )
    {
    %lmName = getField( $lightManager::defaults, %i );
    %success = setLightManager( %lmName );
    if ( %success )
    break;
    }
    }

    // Did we completely fail to initialize a light manager?
    if ( !%success )
    {
    // If we completely failed to initialize a light
    // manager then the 3d scene cannot be rendered.
    quitWithErrorMessage( "Failed to set a light manager!" );
    }

    echo( "\n" );
    }
     
  4. blacklist

    blacklist
    Expand Collapse

    Joined:
    Jul 31, 2014
    Messages:
    7
    hello,i just installed the program, and i am having the same problem. if you could help me out by telling my what the problem is, and how to remedy it, it would really be helpful

    thank you.
     
  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