Filed / Tracking ShowInDistance in EClassConfig does not work on dedicated servers [1114]

Discussion in 'Tracking / Filed' started by ravien_ff, May 29, 2023.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,342
    Likes Received:
    11,972
    For more information see here Bug Report Template

    Build: 4161
    Mode: Survival
    Mode: Dedicated

    SERVER NAME: NA
    SEED-ID: 8675309

    If applicable:
    MODIFIED PLAYFIELDS: Yes

    Reproducibility: Always
    Severity: Trivial

    Type: Graphical

    Summary: Space objects with "ShowInDistance: true" in EClassConfig.ecf do not show at a distance on a dedicated server.

    Description: When using custom block models to create custom visual entities for space_dynamic playfields, the "ShowInDistance: true" setting in EClassConfig does not seem to work on a dedicated server to increase the render range beyond 25000 meters.
    In single player, this setting seems to work as expected and allows objects in space to be rendered past the default 25000 meter render range.

    Here is my EClassConfig entry for the relevant entities:
    Code:
    { +Entity Name: Eden_NebulaTemplateDistant2
      Prefab: @eden_blockmodels/Eden_SectorNebulaOrangeL
      Class: Generic
      AllowUserInstantiate: true
      Parent: Others
      MaxHealth: 100
      ShowInDistance: true
      Lod0Distance: 0
    }
    Code:
    { +Entity Name: Eden_PFNebulaLegacyHomeworld, Ref: Eden_NebulaTemplateDistant2
      Prefab: @eden_blockmodels/Eden_PFNebulaLegacyHomeworld
    }
    The Unity prefab does have a LOD1 that is rendered correctly for the distant model.


    Steps to Reproduce:
    1) Start a new survival dedicated server using Reforged Eden (linked below) and use seed 8675309.
    2) Teleport to one of the star Manu sun orbit playfields (console command sector Manu). This should bring you to the LegacyNexusHub star. If for some reason it does not you will need to search the galaxy map for star type LegacyNexusHub and use the sector command to teleport to that star.
    3) Zoom around in god mode and you will see the custom nebula effects disappearing at a distance. If the test is repeated in single player the nebula is rendered out all the way into the distance.

    Screenshots, Crash Logs, any other Relevant Information or Download links:

    Reforged Eden workshop link to test:
    https://steamcommunity.com/sharedfiles/filedetails/?id=2550354956

    YouTube video showing it on a dedicated server:


    YouTube video showing it in single player:
     
    #1
    Vollinger and Vermillion like this.

Share This Page