Jump to content
  • NullReferenceException when logging off immediately after doing a chunkreset on a RWG tile


    NekoPawtato
    • Version: A21 b324

    Summary: Logging off after doing a "chunkreset f" on a RWG tile can cause a NullReferenceException in the console of the main menu. Can't really think of a reason why someone would want to do this though.


    Game Version: A21 b324
    OS/Version: Windows 11
    CPU Model: Intel Core i5-12500 3 GHz 6-Core Processor
    System Memory: 32GB
    GPU Model and VRAM: Radeon RX 6700 XT 12 GB
    Screen Resolution: 1920x1080
    Video Settings: Custom: https://imgur.com/a/mP1vSrT
    Game mode: SP


    Did you wipe old saves? Wiped 6/12 on A21 b313
    Did you start a new game? Created 6/29 on A21 b324
    Did you validate your files? Validated files 6/29 on A21 b324
    Are you using any mods? No
    EAC on or off? On


    Status: NEW


    Bug Description:


    Detailed steps to reproduce the bug:
    1) Find or locate an RWG tile (ex: rwg_tile_gateway_straight2)
    2) Do a "chunkreset f" in the console
    3) Quickly log off


    Actual result: You will be on the main menu but there will be errors in the console
    video: https://imgur.com/a/tPa738B


    Expected result: No errors in the console


    Log files: https://pastebin.com/hM9weUq0


    User Feedback

    Recommended Comments

    Thank you for sharing. This also corrupts the whole region where the chunkreset f is performed on a dedicated server, and requires deleting the region in World Saves. Tested this twice on two different dedicated servers with the first in A21.1 Stable and the latest in A21.2 Exp.

    Link to comment
    Share on other sites

    Exception: Incorrect region file header! 7dtdsaves\Preppo8K01\Preppo\Region/r.5.-5.7rg
      at RegionFile.Get (System.String dir, System.Int32 rX, System.Int32 rZ) [0x00060] in <d8d4a14a146d4161bb4e999258a30073>:0 
      at RegionFileAccessMultipleChunks.GetRFC (System.Int32 regionX, System.Int32 regionZ, System.String _dir) [0x0005c] in <d8d4a14a146d4161bb4e999258a30073>:0 
      at RegionFileAccessMultipleChunks.ReadDirectory (System.String _dir, System.Action`2[T1,T2] _chunkAndTimeStampHandler) [0x00075] in <d8d4a14a146d4161bb4e999258a30073>:0 
      at RegionFileManager..ctor (System.String _loadDirectory, System.String _saveDirectory, System.Int32 _maxChunksInCache, System.Boolean _bSaveOnChunkDrop) [0x001f4] in <d8d4a14a146d4161bb4e999258a30073>:0 
      at ChunkProviderGenerateWorldFromRaw+<Init>d__16.MoveNext () [0x00998] in <d8d4a14a146d4161bb4e999258a30073>:0 
      at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <4bba812690714c578170328b4ec178d0>:0 

    Just confirming steps. Ah, yes. Requires the presence of an LCB. It was used to attempt to clear a POI taken over which shouldn't have been based on community rules.

     

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