SS3D icon indicating copy to clipboard operation
SS3D copied to clipboard

Duplicate Door Frames

Open cosmiccoincidence opened this issue 3 years ago • 1 comments

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.

Unity_h91nG7qndY

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.

cosmiccoincidence avatar Dec 05 '21 22:12 cosmiccoincidence

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.

EikoBiko avatar Feb 22 '22 03:02 EikoBiko