Fixed Radius Explosion Bugs

Discussion in 'Fixed (Read Only)' started by JCD, Jun 8, 2019.

Thread Status:
Not open for further replies.
  1. JCD

    JCD Lieutenant

    Joined:
    Jun 4, 2019
    Messages:
    14
    Likes Received:
    7
    Radius explosion blocks are broken in singleplayer survival, but work in singleplayer creative. In survival, they throw an exception when they explode if the entire structure is gone in the explosion, and no damage is done to the player or anything else that is not a part of its structure. Looking at the log, it appears that the collider from the signal is still existent after the base reference is removed from the base structure list. When it detects the player, it tries to communicate with the base when it no longer exists, throwing an out of bounds exception because the list is no longer that long. I wonder what will happen if the base structure is not the last structure was placed. Instead of going out of bounds, wouldn't the signal talk to a completely unrelated structure and possibly not throw an exception but trigger signals in the wrong base? Seems the structure has to be last in the list for the exception to occur.

    (ignore the video past 2 min mark, I was testing something unrelated)


    Initialize engine version: 2018.4.1f1 (b7c424a951c0)
    GfxDevice: creating device client; threaded=1
    Direct3D:
    Version: Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce GTX 1070 (ID=0x1b81)
    Vendor:
    VRAM: 8096 MB
    Driver: 23.21.13.8813
    Begin MonoManager ReloadAssembly
    - Completed reload, in 0.374 seconds
    <RI> Initializing input.
    <RI> Input initialized.
    <RI> Initialized touch support.
    UnloadTime: 0.666565 ms
    08-01:44:56.910 21_44 -LOG- *************************************************************************
    08-01:44:56.935 21_44 -LOG- Empyrion - Galactic Survival
    08-01:44:56.935 21_44 -LOG- Version: Experimental 10.3.0
    08-01:44:56.936 21_44 -LOG- Build: 2491
    08-01:44:56.936 21_44 -LOG- Platform: Win, 64 Bit
    08-01:44:56.936 21_44 -LOG- OS: Windows 10 (10.0.0) 64bit
    08-01:44:56.936 21_44 -LOG- DRAM: 16320
    08-01:44:56.936 21_44 -LOG- CPU: AMD Ryzen 5 1600X Six-Core Processor
    08-01:44:56.936 21_44 -LOG- Freq: 3593
    08-01:44:56.936 21_44 -LOG- Cores: 12
    08-01:44:56.936 21_44 -LOG- Gfx: Direct3D 11.0 [level 11.1]
    08-01:44:56.937 21_44 -LOG- VRAM: 8096
    08-01:44:56.938 21_44 -LOG- SL: 5
    08-01:44:56.938 21_44 -LOG- Force DX9: False
    08-01:44:56.938 21_44 -LOG- Instancing: True
    08-01:44:56.939 21_44 -LOG- TimeZone: -04:00
    08-01:44:56.939 21_44 -LOG- Culture: en-US
    08-01:44:56.939 21_44 -LOG- Last build: 2491
    08-01:44:56.942 21_44 -LOG- Build: Release (rootCaption)
    08-01:44:56.942 21_44 -LOG- *************************************************************************
    Setting up 6 worker threads for Enlighten.
    Thread -> id: 108f4 -> priority: 1
    Thread -> id: 198c4 -> priority: 1
    Thread -> id: 16ed4 -> priority: 1
    Thread -> id: 1e3c0 -> priority: 1
    Thread -> id: 1ca80 -> priority: 1
    Thread -> id: 16a9c -> priority: 1
    Unloading 4 Unused Serialized files (Serialized files now loaded: 0)
    UnloadTime: 2.807609 ms
    08-01:44:58.331 21_44 -LOG- EAC: Not configured
    08-01:44:58.773 21_44 -LOG- Args: Client/Empyrion.exe -logFile ../Logs/2491/Client_190607-214453-14.log
    Unloading 387 unused Assets to reduce memory usage. Loaded Objects now: 4370.
    Total: 4.109107 ms (FindLiveObjects: 0.290678 ms CreateObjectMapping: 0.059561 ms MarkObjects: 3.609539 ms DeleteObjects: 0.149044 ms)
    Searching for compatible XInput library...
    Found Xinput1_4.dll.
    Initializing with custom id:

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    08-01:45:00.473 21_45 -LOG- Local player 76561198963782028/'JC'
    Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Empyrion - Galactic Survival/Client/Empyrion_Data/Mono/libc
    Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Empyrion - Galactic Survival/Client/Empyrion_Data/Mono/libc.dll
    Fallback handler could not load library C:/Program Files (x86)/Steam/steamapps/common/Empyrion - Galactic Survival/Client/Empyrion_Data/Mono/libc
    WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - All passes removed
    ERROR: Shader Shader is not supported on this GPU (none of subshaders/fallbacks are suitable)WARNING: Shader Unsupported: 'Hidden/Nature/Terrain/Utilities' - Setting to default shader.
    Shader 'Nature/Terrain/Diffuse': dependency 'Tree0' shader 'Hidden/TerrainEngine/BillboardTree' not found
    08-01:45:13.147 21_45 -LOG- Voxelizing took 754ms, voxels=218873, shapes=1300, mem=1132kB
    08-01:45:19.502 21_45 -LOG- GameOptions: Using dataset 'SP, Survival' for condition 'Survival, SP'
    08-01:45:19.813 21_45 -LOG- GameOptions: Using dataset 'SP, Survival' for condition 'Survival, SP'
    08-01:45:19.825 21_45 -LOG- GameOptions: Using dataset 'SP, Survival' for condition 'Survival, SP'
    08-01:45:25.174 21_45 -LOG- GameOptions: Using dataset 'SP, Creative' for condition 'Creative, SP'
    08-01:45:33.528 21_45 -LOG- Starting SP/MP game
    08-01:45:33.530 21_45 -LOG- Started a new game
    08-01:45:33.546 21_45 -LOG- GameOptions: Using dataset 'SP, Creative' for condition 'Creative, SP'
    08-01:45:33.798 21_45 -LOG- Init: game=NewGame_173, mode=colorToken, global seed=0, playfield=Temperate Orbit
    08-01:45:37.329 21_45 -LOG- [PlanetGen] Total planet generation Temperate Planet (Temperate) size 4 took 3306ms !!! Stamp DB is included in loading time !!!
    08-01:45:39.074 21_45 -LOG- [PlanetGen] Total planet generation Arid Planet (Desert) size 4 took 1680ms
    08-01:45:39.107 21_45 -LOG- Loading playfield 'Temperate Orbit'
    08-01:45:39.119 21_45 -LOG- RandomPlacer: StartBiome center: 0, 0, planet size class: 2
    08-01:45:39.284 21_45 -LOG- Playfield 'Temperate Orbit' with playfield seed 0 loaded (176 ms)
    08-01:48:03.785 21_48 -LOG- Saving Blueprint 'POI_Landmine' as Base (src:propStoreMap)
    Could not find method 'SetLabel' on UIScrollablePopupList

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    Could not find method 'SetLabel' on UIScrollablePopupList

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    Could not find method 'SetLabel' on UIScrollablePopupList

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    Could not find method 'SetLabel' on UIScrollablePopupList

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    Could not find method 'SetLabel' on UIScrollablePopupList

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    08-01:50:12.577 21_50 -LOG- Overwriting Blueprint 'POI_Landmine'
    08-01:50:12.601 21_50 -LOG- Saving Blueprint 'POI_Landmine' as Base (src:propStoreMap)
    08-01:50:55.092 21_50 -LOG- WdwBL: Item successfully created, id: 1763770741
    WdwBL: Item updated

    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 45)
    08-01:59:02.957 21_59 -LOG- (1) Removing structure 'Base (BA)' id=1015. Core: False, Blocks: 0, Visited: 16187/16188 (decayed)
    08-01:59:39.721 21_59 -LOG- (1) Removing structure 'Landmine' id=1016. Core: False, Blocks: 0, Visited: 16922/16923 (decayed)
    08-02:00:11.253 22_00 -LOG- (1) Removing structure 'Landmine' id=1017. Core: False, Blocks: 0, Visited: 17553/17554 (decayed)
    08-02:00:55.358 22_00 -LOG- (1) Removing structure 'Landmine' id=1018. Core: False, Blocks: 0, Visited: 18435/18436 (decayed)
    08-02:01:20.250 22_01 -LOG- (1) Removing structure 'Landmine' id=1021. Core: False, Blocks: 0, Visited: 18827/18934 (decayed)
    08-02:01:37.058 22_01 -LOG- (1) Removing structure 'Landmine' id=1022. Core: False, Blocks: 0, Visited: 19133/19270 (decayed)
    08-02:02:06.316 22_02 -LOG- Unloading playfield 'Temperate Orbit'
    08-02:02:06.348 22_02 -LOG- Unloading playfield 'Temperate Orbit' done (31ms)
    08-02:02:06.348 22_02 -LOG- Loading playfield 'Temperate Planet'
    08-02:02:06.397 22_02 -LOG- RandomPlacer: StartBiome center: 0, 0, planet size class: 4
    08-02:02:06.536 22_02 -LOG- Playfield 'Temperate Planet' with playfield seed 0 loaded (187 ms)
    Unloading 5 Unused Serialized files (Serialized files now loaded: 4)
    Unloading 37317 unused Assets to reduce memory usage. Loaded Objects now: 310998.
    Total: 625.686834 ms (FindLiveObjects: 28.923906 ms CreateObjectMapping: 134.193304 ms MarkObjects: 428.133376 ms DeleteObjects: 34.435963 ms)
    08-02:02:12.850 22_02 -LOG- Weather: Clear
    ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at Assembly-CSharp.DirectoryLoader.CheckMemory (System.Collections.Generic.List`1[T] , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x001f6] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.InsertSolution (System.String , BlockSignalType , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x00018] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.ExtractDatabase (BlockSignalType , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x00017] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.PaneCollection.ResolveEmulator (System.Boolean , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x0009d] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.DeployPlugin (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x0008f] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.RebuildMenu (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x00061] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.ListMethod (System.Int32 , System.Boolean ) [0x0004c] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.OnTriggerEnter (UnityEngine.Collider collider) [0x0008b] in <429d8acc2c6a4a678761f8c91d47cf30>:0

    (Filename: <d7ac571ca2d04b2f981d0d886fa067cf> Line: 0)
    08-02:02:45.607 22_02 -LOG- (1) Removing structure 'Landmine' id=1025. Core: False, Blocks: 0, Visited: 20358/20641 (decayed)
    ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at Assembly-CSharp.DirectoryLoader.CheckMemory (System.Collections.Generic.List`1[T] , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x001f6] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.InsertSolution (System.String , BlockSignalType , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x00018] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.ExtractDatabase (BlockSignalType , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x00017] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.PaneCollection.ResolveEmulator (System.Boolean , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x0009d] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.DeployPlugin (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x0008f] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.RebuildMenu (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x00061] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.ListMethod (System.Int32 , System.Boolean ) [0x0004c] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.OnTriggerEnter (UnityEngine.Collider collider) [0x0008b] in <429d8acc2c6a4a678761f8c91d47cf30>:0

    (Filename: <d7ac571ca2d04b2f981d0d886fa067cf> Line: 0)
    08-02:03:23.360 22_03 -LOG- (1) Removing structure 'Landmine' id=1026. Core: False, Blocks: 0, Visited: 21113/21396 (decayed)
    ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <d7ac571ca2d04b2f981d0d886fa067cf>:0
    at Assembly-CSharp.DirectoryLoader.CheckMemory (System.Collections.Generic.List`1[T] , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x001f6] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.InsertSolution (System.String , BlockSignalType , Assembly-CSharp.LineResolver , Assembly-CSharp.DeviceManager ) [0x00018] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.DirectoryLoader.ExtractDatabase (BlockSignalType , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x00017] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.PaneCollection.ResolveEmulator (System.Boolean , Assembly-CSharp.LineResolver , System.Int32 , Assembly-CSharp.ConnectionTable , Assembly-CSharp.DatabaseHelper , Assembly-CSharp.DeviceManager ) [0x0009d] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.DeployPlugin (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x0008f] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at Assembly-CSharp.FileSetTreeNodeTable.RebuildMenu (Assembly-CSharp.FileSetTreeNodeTable+ProcessContextTreeNodeTable , System.Int32 , System.Boolean ) [0x00061] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.ListMethod (System.Int32 , System.Boolean ) [0x0004c] in <429d8acc2c6a4a678761f8c91d47cf30>:0
    at SensorTrigger.OnTriggerEnter (UnityEngine.Collider collider) [0x0008b] in <429d8acc2c6a4a678761f8c91d47cf30>:0

    (Filename: <d7ac571ca2d04b2f981d0d886fa067cf> Line: 0)
    08-02:04:23.647 22_04 -LOG- (1) Removing structure 'Landmine' id=1028. Core: False, Blocks: 0, Visited: 22319/22602 (decayed)
    08-02:06:44.105 22_06 -LOG- Disconnect clicked by user
    08-02:06:44.159 22_06 -LOG- Playfield saving and cleaning up
    08-02:06:44.341 22_06 -WRN- SensorManager: Structure for sensor not found
    08-02:06:44.499 22_06 -LOG- Unloading playfield 'Temperate Planet'
    08-02:06:44.526 22_06 -LOG- Unloading playfield 'Temperate Planet' done (26ms)
    08-02:06:44.566 22_06 -LOG- Playfield saving and cleaning up done
    Unloading 1 Unused Serialized files (Serialized files now loaded: 4)
    Unloading 3704 unused Assets to reduce memory usage. Loaded Objects now: 274956.
    Total: 477.071902 ms (FindLiveObjects: 21.487959 ms CreateObjectMapping: 13.365213 ms MarkObjects: 427.691089 ms DeleteObjects: 14.527641 ms)
    08-02:06:48.866 22_06 -LOG- OnApplicationQuit
     
    #1
    Last edited: Jun 8, 2019
  2. JCD

    JCD Lieutenant

    Joined:
    Jun 4, 2019
    Messages:
    14
    Likes Received:
    7
    It appears my first guess was not correct, because the exception occurs no matter the order the structure was made. Seems that the index it is using is -1.

     
    #2
  3. JCD

    JCD Lieutenant

    Joined:
    Jun 4, 2019
    Messages:
    14
    Likes Received:
    7
    Also this is the wrong forum. EDIT: thanks for fixing.
     
    #3
    Last edited: Jun 8, 2019
    Pach, RazzleWin and Germanicus like this.
Thread Status:
Not open for further replies.

Share This Page