Critical Error since last Patch

    Joined
    Jan 26, 2014
    Messages
    229
    Reaction score
    114
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 3
    I wanted to start a new Singleplayer Game to test the new Features.
    After 60% loading stopped and a hidden Error Window, only visible, when i strg+alt+entf appeared.

    Critical Error
    RuntimeExeption:
    data//shader/cube/lodCube/lodcube.frag.glsl

    0(306) : error C1008: undefined variable "occlusion"


    LINE 306:
    float shadow_coef = occlusion.w*(1.0-shadowCoef());

    Retry Send Crash Report Exit


    Here are my Game Settings:
    C_USE_NEW_PLAYER_MODEL_ = true
    CONTROL_HELP = false //Display help for controls
    C_MOUSE_BUTTOM_SWITCH = false //Switch build/remove mouse buttons
    G_RESOLUTION = 1360 x 768 //Resolution
    G_FULLSCREEN = true //Fullscreen
    G_WINDOWED_BORDERLESS = true //Borderless windowed mode
    G_TEXTURE_PACK = Default //Texture Pack
    G_TEXTURE_PACK_RESOLUTION = 256 //Texture Quality (Resolution)
    G_VSYNCH = false //Vert-Synch
    G_MULTI_SAMPLE_TARGET = 8 //Antialiasing (Samples)
    G_MULTI_SAMPLE = 8
    G_FOV = 110.0 //Field of View
    G_MAX_SEGEMENTSDRAWN = 20000 //Max segments Drawn at once (view distance)
    G_NORMAL_MAPPING = true //Enable Normal mapping
    G_SHADOWS = true
    G_SHADOW_QUALITY = BEST
    G_SHADOWS_TARGET = true //Enable Shadows
    G_SHADOW_QUALITY_TARGET = BEST //Set Shadow Quality
    G_PROD_BG = true //Procedural Background (fbo req)
    G_PROD_BG_QUALITY = 2048 //Procedural BG quality
    G_DRAW_SURROUNDING_GALAXIES_IN_MAP = false //Draw other galaxies in map (slow)
    HIT_INDICATION_NUMBERS_LIFETIME = 0.4 //Time, hit numbers remain (sec)
    PLAYER_SKIN_CREATE = //Create Player Skin
    PLAYER_SKIN = C:\Spiele\Starmade\StarMade.old\MODS\Skins\Starmade Skin\FighterP\FighterP.smskin //Path to player skin. Remove to Use default
    D_LIFETIME_NORM = 30 //Lifetime (secs) of debris (0 to turn off)
    S_SOUND_SYSTEM_ENABLED = true
    S_SOUND_ENABLED = true //Sound
    S_SOUND_VOLUME_GLOBAL = 5 //Sound Volume
    N_TRANSMIT_RAW_DEBUG_POSITIONS = false
    C_SELECTED_JOYSTICK = 0
    ICON_BAKERY_BLOCKSTYLE_ROTATE_DEG = -90.0
    MOUSE_WHEEL_SENSIBILITY = 7.0E-4
    BUILD_MODE_SHIFT_SPEED = 25.0
    ORBITAL_CAM_SPEED = 0.5
    G_DAMAGE_DISPLAY = 3000 //Damage display distance
    G_STAR_COUNT = 65536 //Star Count
    G_VBO_BULKMODE_SIZE = 4
    G_DRAW_FOG = false
    G_DRAW_BEAMS = true //Draw beams
    G_DRAW_EXHAUST_PLUMS = true //Draw thruster plums
    D_INFO_CONTROLMANAGER = false
    D_INFO_SHADER = true
    T_ENABLE_TEXTURE_BAKER = false
    D_INFO_DRAW_TIMES = false
    D_INFO_DRAW_SPACE_PARTICLE = false
    G_SPACE_PARTICLE = true //Draw space dust particles
    G_DRAW_MOUSE_COLLISION = false
    G_ATMOSPHERE_SHADER = normal
    F_FRAME_BUFFER_USE = false //Use Framebuffer
    G_SHADOW_NEAR_DIST = 1.0
    G_SHADOW_FAR_DIST = 75.0
    G_SHADOW_DEPTH_RANGE_NEAR = 0.0
    G_SHADOW_DEPTH_RANGE_FAR = 1.0
    G_SHADOW_SPLIT_FAR_0 = 0.325
    G_SHADOW_SPLIT_NEAR_1 = 0.325
    G_SHADOW_SPLIT_FAR_1 = 0.325
    G_SHADOW_SPLIT_NEAR_2 = 0.325
    G_SHADOW_SPLIT_MULT = 1.005
    G_SHADOW_CROP_MATRIX_MAX = -1000.0
    G_SHADOW_CROP_MATRIX_MIN = 1000.0
    G_SHADOW_EXTRA_BACKUP = 20.0
    G_SHADOW_NEAR_CLIP = 0.05
    G_SHADOW_SPLIT_RADIUS_ADD_0 = 0.0
    G_SHADOW_SPLIT_RADIUS_ADD_1 = 10.0
    G_SHADOW_SPLIT_RADIUS_ADD_2 = 0.0
    G_SHADOW_SPLIT_RADIUS_ADD_3 = 0.0
    G_SHADOW_SPLIT_ORTHO_FAR_ADDED_0 = 0.0
    G_SHADOW_SPLIT_ORTHO_FAR_ADDED_1 = 100.0
    G_SHADOW_SPLIT_ORTHO_FAR_ADDED_2 = 0.0
    G_SHADOW_SPLIT_ORTHO_FAR_ADDED_3 = 0.0
    G_SHADOW_SPLIT_ORTHO_NEAR_ADDED = -100.0
    G_SHADOW_ULTRA_FAR_BOUND_ADDED_0 = -0.023
    G_SHADOW_ULTRA_FAR_BOUND_ADDED_1 = -0.002
    G_SHADOW_ULTRA_FAR_BOUND_ADDED_2 = -0.002
    G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_0 = -0.023
    G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_1 = -0.002
    G_SHADOW_OTHER_QUALITY_FAR_BOUND_ADDED_2 = -0.0
    G_SHADOW_FOV_ADDED_RAD = 0.2
    G_SHADOW_DISPLAY_SHADOW_MAP = false
    G_DRAW_SHIELDS = true //Shield Effect
    G_DRAW_WATER = true
    G_DRAW_BACKGOUND = true //Background Image
    G_WATER_USER_MIPMAPS = false
    E_NAVIGATION_FILTER = 621
    G_DRAW_ENTITIES = true
    G_FRUSTUM_CULLTING = true
    G_DRAW_EFFECTS = true
    G_SHADER_RELOAD = false
    G_FRAMRATE_FIXED = 60 //Limit Framerate (30, 60, 120, 240, or -1 for unlimited),
    G_SHADERS_ACTIVE = true
    G_DEBUG_DRAW_GRID = false
    G_DEBUG_DRAW_LINES = true
    T_TERRAIN_DRAW = true
    T_TERRAIN_WIREFRAME_DRAW = false
    G_CULLING_ACTIVE = true
    G_TEXTURE_ARRAYS = false
    G_AUTO_NORMALIZATION = true
    G_DRAW_BY_SIDES = true
    G_WIREFRAMED = false
    G_TEXTURE_COMPRESSION_BLOCKS = true
    G_TEXTURE_ARRAY_COMPRESSION = true
    G_TEXTURE_ARRAY_MIPMAP = true
    G_TEXTURE_MIPMAP = true
    G_SHADOWS_VSM = false
    S_PAUSED = false
    S_SETTINGS_SHOW = false
    MINIMAP_MODE = SMALL //Radar (minimap) size
    SECTOR_INDICATION_MODE = OFF //Indicators for other sectors
    S_KEY_ALLOW_DUPLICATES = false //Allow key assign duplicates
    GIF_WIDTH = 640
    GIF_HEIGHT = 640
    GIF_FPS = 15
    GIF_GUI = false
    G_DEBRIS_THRESHOLD_MS = 4
    S_INITIAL_SETTING = Single Player
    S_GAME_MODE = Sandbox
    G_BONE_ANIMATION = true
    P_NT_DEBUG_ACTIVE = false
    P_PHYSICS_DEBUG_ACTIVE_OCCLUSION = false
    P_PHYSICS_DEBUG_ACTIVE = false
    P_PHYSICS_DEBUG_MODE = 0
    G_DEUBG_LINE_DRAWING_ACTIVATED = false
    G_WINDOW_START_POSITION = center
    G_DRAW_GUI_ACTIVE = true
    G_DRAW_NO_OVERLAYS = false
    G_PARTICLE_SORTING = true
    P_PHYSICS_ACTIVATED = true
    G_SMOKE_QUALITY = false
    G_DRAW_STARS = true //Draw additional stars
    G_DRAW_PASTE_PREVIEW = true //Draw preview for paste
    G_USE_SPRITE_VBO = true
    TUTORIAL_NEW = true //Tutorial enabled
    G_AUTOSELECT_CONTROLLERS = false //AutoSelect Controllers
    S_INFO_DRAW = FPS_AND_PING //Tech Info
    G_VBO_FLAG = STATIC
    N_LAG_COMPENSATION = true
    N_IGNORE_SAVED_UPLINK_CREDENTIALS_IN_SINGLEPLAYER = true
    N_SERVERTIME_UPDATE_FREQUENCE = 10000
    M_TEXTURE_PACK_CONFIG_TOOL = ./data/textures/block/Default/64/
    G_MIPMAP_LEVEL_MAX = 3
    M_MOUSE_SENSITIVITY = 0.5 //MoUse Sensitivity
    G_HIT_INDICATION_SIZE = 1.0 //Size of hit indications
    F_BLOOM = true //Bloom Effect
    F_BLOOM_INTENSITY = 1.0 //Bloom Intensity
    S_MOUSE_LOCK = true
    G_DRAW_ADV_BUILDMODE_BLOCK_PREVIEW = true
    G_DRAW_ALL_CONNECTIONS = false
    G_SHOW_PURE_NUMBERS_FOR_SHIELD_AND_POWER = false
    S_FLIP_HOTBAR_MOUSEWHEEL_WITHOUT_CTRL = true //flip through hotbars on mouse wheel without control
    S_ZOOM_MOUSEWHEEL = ZOOM //primary mouse wheel function
    S_MOUSE_SHIP_INVERT = false //Invert MoUse-Y (Ship)
    S_MOUSE_ALL_INVERT = false //Invert MoUse-Y (All)
    S_USE_REGION_SIGNATURE_TEST = false
    G_PREVIEW_TO_BUILD_BLOCK = true //Preview Block to build
    S_EXIT_ON_ESC = false
    G_USE_HIGH_QUALITY_ACKGROUND = true
    G_DRAW_POPUPS = true
    G_USE_VBO_MAP = false
    G_DRAW_JUMP_OVERLAY = true
    G_MAG_FILTER_LINEAR_BLOCKS = true //Use linear mag filter on Blocks (restart required)
    G_MAG_FILTER_LINEAR_GUI = false //Use linear mag filter on GUI (restart required)
    G_MAX_BEAMS = 8192 //MaxBeamsDrawn (restart required)
    SEGMENT_REQUEST_BATCH = 32 //Size of Chunk request-queue
    CLIENT_BUFFER_SIZE = 65536
    ICON_BAKERY_SINGLE_RESOLUTION = 150
    G_RAYTRACE_COUNT = 16 //Block light quality (impacts chunk refresh time, but not fps)
    ICON_BAKERY_SINGLE_ICONS = false
    G_MUST_CONFIRM_DETACHEMENT_AT_SPEED = 100.0 //Popup Detach Warning (% server speed, -1 off)
    G_USE_SHADER4 = true
    O_OCULUS_RENDERING = false
    G_USE_VERTEX_LIGHTING_ONLY = false //Simple Lighting Quality (faster)
    CLIENT_TRAFFIC_CLASS = true
    G_DRAW_SELECTED_BLOCK_WOBBLE = true
    G_USE_TWO_COMPENENT_SHADER = false
    A_FORCE_AUTHENTICATION_METHOD = -1
    MIN_FFA = 2
    B_UNDO_REDO_MAX = 30
    N_ARTIFICIAL_DELAY = 0
    SEGMENT_PIECE_QUEUE_SINGLEPLAYER = 32767
    G_MAX_MISSILE_TRAILS = 2048 //Max Missile Trails (restart required)
    G_USE_OCCLUSION_CULLING = false
    C_AUTOASSIGN_WEAPON_SLOTS = true //Autoassign weapons on fire if bar empty
    G_DRAW_NT_STATS_OVERLAY = false //Draw network statistics in hud
    CLIENT_CUSTOM_TEXTURE_PATH = ./customBlockTextures
    SECRET = none
    USE_OPEN_AL_SOUND = false
    LIMIT_FPS_UNFOCUS = true
    GUI_USE_DISPLAY_LISTS = false
    USE_GL_MULTI_DRAWARRAYS = true //MultiDraw Optimization (turn off on chunk Draw problems)
    USE_GL_MULTI_DRAWARRAYS_INITIAL_SET = true
    CHAT_CLOSE_ON_ENTER = false //Close chat on enter
    A_FORCE_LOCAL_SAVE_ENABLED_IN_SINGLE_PLAYER = false
    G_SHIP_INFO_ZOOM = 1
    G_SINGLEPLAYER_CREATIVE_MODE = true //creative mode
    G_DRAW_LAG_OBJECTS_IN_HUD = false //Draw lag statistics in hud
    G_SHOW_SYMMETRY_PLANES = true //Show symmetry planes
    LANGUAGE_PACK = German
    LANGUAGE_PACK_ASSIGNED = true
    DELETE_SEVER_DATABASE_ON_STARTUP = false
    G_BASIC_SELECTION_BOX = false //Draw basic selection boxes
    OFFLINE_PLAYER_NAME = BiGEdge
    ONLINE_PLAYER_NAME = BiGEdge
    SERVERLIST_COMPATIBLE = true
    SERVERLIST_RESPONSIVE = false
    SERVERLIST_FAVORITES = false
    SERVERLIST_CUSTOMS = false
    CUBE_LIGHT_NORMALIZER_NEW = true
    SERVERLIST_LAST_SERVER_USED =
    LAST_GAME = SP;Asteroid Test;4242;BiGEdge
    PLAY_INTRO = true //Play Intro
    TUTORIAL_BUTTON_BLINKING = true
    TUTORIAL_PLAY_INTRO = true
    TUTORIAL_WATCHED =
    LOD_DISTANCE_IN_THRESHOLD = 80.0 //Non Block Render Distance (LoD)
     
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    hurray game settings
    have seen that error being reported before ... but couldnt reproduce it .. will try again with your settings
     
    Joined
    Jan 26, 2014
    Messages
    229
    Reaction score
    114
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 3
    i were a Tester a Year ago or so... i know what matters ;)
     
    Joined
    Mar 31, 2016
    Messages
    455
    Reaction score
    59
    I had that error last night, I do not know what caused it. I was, however, attempting to access an LAN (not localhost, just to make that clear) server. I had it occur twice. I restarted my client and it worked fine, no more random errors. The server was also restarted but I doubt it had anything to do with the server.
    At least, the incomprehensible line with lodCube and Cube and lodwhatelse happened. I think the rest was pretty close. But the box wasn't hidden - it popped right out in front.
     

    Captain Tankman

    Cake Build Server Staff
    Joined
    Oct 25, 2013
    Messages
    500
    Reaction score
    460
    • Community Content - Bronze 1
    • Legacy Citizen 8
    Same error here, Restarting the game did not help. I'm currently re-downloading the whole thing. I'll edit this post with the result.

    EDIT:
    Still gives me the error message
     
    Last edited:
    Joined
    Jun 20, 2016
    Messages
    1
    Reaction score
    0
    Same error.

    With shadows enabled, the exact same
    Without shadows, it changes the "line 306" part to "line 300", other than that, the same.

    Redownloading the whole client did not work for me.
     
    Joined
    Jun 27, 2013
    Messages
    896
    Reaction score
    166
    For a workaround, see Dev build 50% loading crash

    In essence, edit data/shader/cube/lodCube/lodcube.frag.glsl and replace
    Code:
    float shadow_coef = occlusion.w*(1.0-shadowCoef());
    with
    Code:
    float shadow_coef = 1.0-shadowCoef();
     
    Joined
    Jan 26, 2014
    Messages
    229
    Reaction score
    114
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 3
    This fix worked and i got the Game running... pls make this Setting a standard with the next Patch.
    But now ive got an other Problem...

    After placing one of the new Non-Cubic Computerconsole my Game crashed with following Error.

    GLException: GL_INVALID_OPERATION
     

    nightrune

    Wizard/Developer/Project Manager
    Joined
    May 11, 2015
    Messages
    1,324
    Reaction score
    577
    • Schine
    • Top Forum Contributor
    • Thinking Positive
    Are you playing with Ultra Shadows turned on?
     
    Joined
    Jan 26, 2014
    Messages
    229
    Reaction score
    114
    • Purchased!
    • Community Content - Bronze 1
    • Legacy Citizen 3
    For a workaround, see Dev build 50% loading crash

    In essence, edit data/shader/cube/lodCube/lodcube.frag.glsl and replace
    Code:
    float shadow_coef = occlusion.w*(1.0-shadowCoef());
    with
    Code:
    float shadow_coef = 1.0-shadowCoef();
    This helped and solved the Problem, maybe an idea to set this as standard? Else i have to change this with every upcoming Update.

    And the other Problem was, i wanted to test the new Non-Cubic Blocks and the game crashed
     
    Joined
    Jul 17, 2013
    Messages
    1,429
    Reaction score
    205
    • Tester
    there are new shader files in the latest dev build ... maybe that solves it then