Search Issue Tracker

Fixed in Unity 2018.3

Votes

21

Found in

2017.3.0b2

Issue ID

966679

Regression

No

Editor performance degradation when working with big Tilemap

2D

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

How to reproduce:
1. Open the "Project.zip" project
2. Open the "MainScene" scene
3. Try painting some tiles into the tilemap

Actual result: Unity starts lagging/freezing. (gif attached)
Expected result: Unity shouldn't be lagging.

Note: The Editor works fine when editing tilemap while in Play mode.

Reproducible with:2017.2.0p1, 2017.3.0b9, 2018.1.0a4.

------------------------------
fixed in 2018.3.0a6 - use prefab mode to edit tilemaps.

Comments (8)

  1. F4463993e17e83e510698426764dc925?d=mm

    CarnivorousHam

    Aug 28, 2018 16:15

    Fixed! Hooray!

  2. F4463993e17e83e510698426764dc925?d=mm

    CarnivorousHam

    Aug 03, 2018 02:22

    Still have it. My grid isn't even a prefab. Wicked slowdown.

  3. Debb448b94d2ed7bd663c77c028d151b?d=mm

    Napoleonite

    Jun 14, 2018 15:30

    I have it too. Breaking the prefab instance seems to be the only way to be able to work in large tilemaps (or multiple tilemaps).

  4. 1418e30e705f21ca50cd4d172488ada8?d=mm

    mattouBatou

    May 12, 2018 21:58

    I'm getting this also and can confirm it is due to using an instance of a tilemap prefab vs unique tilemap created in your hierarchy. You can check yourself by creating a tilemap as a prefab, painting some tiles, pan around while Tile Palette window is still open and see the performance drop as you paint tiles.

    Now just simply break the prefab link to your tilemap and see the editor performance increase.

    I tried this in a scene with 109,003 16x16 tiles and the difference is that using a tilemap as a prefab instance, the editor locks up for minutes at a time until the next time you try to do anything vs normal editor responsiveness.

  5. A1a4d75d2e7f5a03df41a2e03b3cd9d7?d=mm

    LeMorrow

    May 12, 2018 00:42

    Yep, definitely starts lagging way too fast. It's very annoying.. At least it works in play mode so we can edit in play mode and then copy the tilemap and paste I guess.

  6. 66d01acbfbb4dc9b8aa8b95bfa8953d0?d=mm

    FlynnPierce

    Apr 09, 2018 16:05

    A prefab connection makes the lag much worse, but it also happens to some degree even without one. With a prefab, even a 50x50 tilemap in a fresh project lags on my i7-6700k/SSD.

  7. 476e9fdd8e49d2cdda394854d629cbc0?d=mm

    Raali_Oloth

    Feb 18, 2018 13:25

    I think it happens only if your map linked to prefab

  8. 865d999ad04e6e099331e935e4935e5c?d=mm

    over99999

    Nov 21, 2017 02:57

    Same here, but I don't think mine is big enough, but it's already lagging in editor.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.