Open V1kingGit opened 2 years ago
Upon mining a piece of asteroid wall
NullReferenceException: Object reference not set to an instance of an object RegionManager.MergeRooms (RegionManager+Room room1, RegionManager+Room room2) (at Assets/Scripts/Managers/Local/RegionManager.cs:944) RegionManager.AddTile (UnityEngine.Vector3Int tilePos) (at Assets/Scripts/Managers/Local/RegionManager.cs:897) Construction.DeconstructTile (UnityEngine.Vector3Int position, CustomTile tile, System.Boolean isWall, System.Boolean wasConstruction, System.Boolean wasMining, System.Boolean giveMaterials) (at Assets/Scripts/Player/Construction.cs:783)
Region edge case when a wall is destroyed, that creates its own region. Fixed.
May be handled wrongly. Works temporarily.
Upon mining a piece of asteroid wall
NullReferenceException: Object reference not set to an instance of an object RegionManager.MergeRooms (RegionManager+Room room1, RegionManager+Room room2) (at Assets/Scripts/Managers/Local/RegionManager.cs:944) RegionManager.AddTile (UnityEngine.Vector3Int tilePos) (at Assets/Scripts/Managers/Local/RegionManager.cs:897) Construction.DeconstructTile (UnityEngine.Vector3Int position, CustomTile tile, System.Boolean isWall, System.Boolean wasConstruction, System.Boolean wasMining, System.Boolean giveMaterials) (at Assets/Scripts/Player/Construction.cs:783)