SS3D
SS3D copied to clipboard
Duplicate Door Frames
Summary
The tilemap seems to be generating double the amount of door frames as intended.
Current Behavior
Clicking on a door (airlock) in the editor and viewing its child objects you will notice that there are 4 door frames (wall caps) instead of just the required 2.
Remapping the doors seems to fix this issue initially, but doesn't actually. If you try to remove the current doors and remap them it will indeed only add 2 door frames as intended, but when you save and close the map/project and then re-open it, there will be 4 door frames again.
Possible Solution
Check "Door.cs" in /Assets/Content/Structures/Doors/ as this is where the door frames are handled. But the bug may have to do with the map saving system, idk.
This is caused by the airlocks not checking to see if the door frames already exist before placing them, which apparently occurs in play mode. Every time you enter play mode, it generates two more. Probably a pretty simple thing to fix.