Search Issue Tracker

Fixed

Votes

0

Found in [Package]

0.7.0-preview.19

Issue ID

1224070

Regression

No

In the editor Asset Import Loop causes lag spikes every few seconds with Entity package

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open attached project "SpaceShepherdAdventure.zip" and scene "LevelDesign"
2. Enter Play mode
3. Observe Game View

Expected result: no lag spikes are present or at least information about the lag spike is present (int the profiler window)
Actual result: every ~2 second a ~400ms lag spike appears

Reproducible with: 2019.3.5f1(0.5.0-prev.17), 2020.1.0b2, 2020.2.0a2(0.7.0-preview.19)
Could not test with: 2017.4 (entities were not yet implemented), 2018.4 (Entities errors in the console window)

  1. Resolution Note:

    Not a bug- User code is calling AssetDatabase.ImportAsset() every 5 seconds causing Editor freezes.

Add comment

Log in to post comment