Jump to content
  • Adding triggers to power switches or doors causes an NRE in world editor.


    Gako21

    To the wonderful Jugginator (or alternatively anyone else reading this):

    Dear, darling Jugginator, I once again have the sad duty to inform you of a new bug. When using the world editor, adding a trigger into a power switch or door (that's not powered by electricity) creates a nullReferenceException. These objects don't have any triggers by default so using them in the world editor is impossible.

     

    Game Version: A20.6 b9

    Platform: PC

    OS/Version: Windows 10

    Game mode: World Editor

     

    Did you start a new game? Yes

    Did you validate your files? Yes

    Are you using any mods? No

    EAC on or off? ON

     

    Status: NEW

     

    Bug Description: 

    When the player enters the world, places down a power switch or a door that can be opened with it and tries to add a trigger to it, the game throws a null reference exception and fails to add anything. This renders the triggers and triggerable objects unusable in the world editor and leaves the player confused. These features do work in the prefab editor just fine. Much love and adoration!

     
    Link to the log.

     

    Detailed steps to reproduce the bug:

     

    1) Go into the world editor.
    2) Place down any of the power switches or doors that can be activated through it.
    3) Open the "Edit triggers" menu from the radial menu.
    4) Click "Add +".

     

    Actual result: An NRE is thrown into the console and no trigger is created.

     

    Expected result: A trigger is created without any error for the player to use.


    User Feedback

    Recommended Comments



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...