diff --git a/Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs b/Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs index e1f6a66e..9890f44a 100644 --- a/Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs +++ b/Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs @@ -255,6 +255,7 @@ private LDtkComponentLayer BuildLayerInstance(LayerInstance layer) LDtkComponentEntity[] entities = null; float layerScale = 1; + _layerComponent = null; _layerIntGrid = null; _layerTiles = null;