Search Issue Tracker

Not Reproducible

Votes

12

Found in

2019.3.0b2

2019.3.0b3

2020.1.0a1

Issue ID

1184079

Regression

Yes

Assertion failed on expression: 'gForceReimports->empty()' is thrown when adding scripts to inspector

Asset - Database

-

How to reproduce:
1. Create and open a new Universal RP template project
2. Observe the console window

Expected result: no errors are thrown
Actual result: Assertion failed on expression: 'gForceReimports->empty()' is thrown

Reproducible with: 2019.3.0b2, 2019.3.0b4, 2020.1.0a5 (7.0.1)
Not reproducible with: 2018.4.9f1 (4.1.0), 2019.2.7f1 (6.9.0), 2019.3.0b1 (7.0.1)
Could not test with: 2017.4.32f1 (Template not available)

  1. Resolution Note:

    Looks like it is fixed in newer versions of Unity, at least we were not able to reproduce on latest 2019.3.x builds

Comments (44)

  1. Noizedrop

    Mar 10, 2021 17:41

    I had similiar issues while having the polybrush or probuilder windows open! closing these usually resolved the issue for me.

  2. pistoleta

    Feb 19, 2021 13:01

    Having the same problem on 2019.4.20, is there any way to get rid of this? I dont even remember when this started showing up.

  3. Aykutkaraca

    Oct 09, 2020 07:06

    2019.4.9f1 I got the error when I added LOD group.

  4. Dobrusha

    Sep 24, 2020 01:57

    2019.3.4f1 Same problem. I relocated script to a new folder and saw it first time.

  5. triangle4studios

    Sep 05, 2020 04:44

    Same issue here, no idea why

  6. Websukkels

    Jul 31, 2020 07:25

    For me it started after import PUN2, and cleared after a reimport all

    Unity 2019.4.5f1

  7. Snoweuph

    Jul 18, 2020 06:52

    i got this isue in unity 2019.4.3

  8. Cinabutts

    Jul 07, 2020 18:22

    reproduced after creating a custom color picker inspector, tried using
    'AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate);'
    started getting the error i believe at that time so changed it to just
    'AssetDatabase.Refresh();'
    no luck there. so went and deleted it.
    STILL THERE
    URP 2020.1.0b9.3730.3

  9. Jadefire16

    Jul 01, 2020 01:03

    Found in 2019.3.10.f1 Upon creating a prefab object with a Scriptable object as its only public field -> Dragged into a new folder and upon trying to select it the editor seems to hiccup and load and on deselect sends the error

  10. HassanKhallouf

    Jun 26, 2020 15:08

    same issue with 2019.4.1f1

    this happens every time I hit the play button WITH Enter Play Mode Options (Experimental) is enabled

Add comment

Log in to post comment

All about bugs

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