Jump to content
  • NullReferenceException when modifying vehicle followed by modifying armor


    NekoPawtato

    Summary: NullReferenceException occurs if you try to modify a placed vehicle and then modify another item from your inventory

     

    Game Version: Alpha 20.3 b3

    Platform: PC

    OS/Version: Windows 10

    CPU Model: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz

    System Memory: 8GB

    GPU Model and VRAM: AMD Radeon R9 M275X (4075MB?)

    Screen Resolution: 1280x720

    Video Settings: Potato (Lowest)

    Game mode: SP

     

    Did you wipe old saves? Not since A20.0

    Did you start a new game? Game created on 3/20/22

    Did you validate your files? Validated 4/4/22

    Are you using any mods? No

    EAC on or off? On

     

    Status: NEW

     

    Bug Description:

     

    Detailed steps to reproduce the bug:

     

    1) Place an equipment item or tool/weapon in your inventory

    2) Place a vehicle down

    3) Hold E in front of the vehicle and click Open

    4) While the vehicle modifications are open on the left, click on an equipment/tool/weapon and try to modify that

     

    Actual result: An error occurs

    video: https://imgur.com/a/wlYup1j

    logs: https://pastebin.com/h3XAAgdx

     

    Spoiler
    NullReferenceException: Object reference not set to an instance of an object
      at XUiC_AssembleWindow.set_ItemStack (ItemStack value) [0x00007] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiC_AssembleWindowGroup.set_ItemStack (ItemStack value) [0x00007] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiC_AssembleWindowGroup.OnOpen () [0x00011] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiWindowGroup.OnOpen () [0x00006] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at GUIWindowManager.Open (GUIWindow _w, System.Boolean _bModal, System.Boolean _bIsNotEscClosable, System.Boolean _bCloseAllOpenWindows) [0x000d0] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at GUIWindowManager.Open (System.String _windowName, System.Boolean _bModal, System.Boolean _bIsNotEscClosable, System.Boolean _bCloseAllOpenWindows) [0x00065] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at ItemActionEntryAssemble.OnActivated () [0x000b8] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiC_ItemActionEntry.OnPressAction (XUiController _sender, System.Int32 _mouseButton) [0x00040] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiController.OnPressed (System.Int32 _mouseButton) [0x0000e] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiController.Pressed (System.Int32 _mouseButton) [0x00000] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at XUiView.OnClick (UnityEngine.GameObject _go) [0x0003f] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
      at UIEventListener.OnClick () [0x0001c] in <39cf8b713b17414c9e5ddfff01d6df19>:0 
    UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions)
    UICamera:Notify(GameObject, String, Object)
    UICamera:ProcessRelease(Boolean, Single)
    UICamera:ProcessTouch(Boolean, Boolean)
    UICamera:ProcessMouse()
    UICamera:ProcessEvents()
    UICamera:Update()

     

     

    Expected result: Opens modify UI for the item (my use case being I wanted to swap the dye from my bike and put it on an equipment I had in my inventory)


    User Feedback

    Recommended Comments

    Sorry you can close this as duplicate, I was searching for "NullReferenceException" in the google doc, but the A20 KI abbreviated it as NRE which was why I didn't see it

    Link to comment
    Share on other sites



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