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
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)
-
oivoodoo
Apr 05, 2020 08:29
Assertion failed on expression: 'gForceReimports->empty()'
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()2019.3.7f1
Changed the color of text in TextMeshProGui and then my gameobject is invisible, can't switch enable/disable on it.
in play mode it is always in disabled state and see the error above.
-
cuzner
Apr 04, 2020 05:54
Getting this issue with 2019.3.2f1
This is a new 3d Unity project.
Then imported Photon2 - freeGet this error after import.
Assertion failed on expression: 'gForceReimports->empty()' -
j00hi
Apr 01, 2020 10:43
Here is a possible solution: https://answers.unity.com/questions/1632274/how-to-avoid-the-onvalidate-method-from-being-call.html
The issue is that when the Prefab contains a script that uses OnValidate, OnValidate is being invoked and that can lead to this error.
-
Kaymax
Mar 31, 2020 20:59
same Issue on Unity 2019.3.7f1, will try to catch the point when it happens....
-
GiuSca
Mar 24, 2020 14:24
Hi, I'm a total beginner, so I can only explain the context when I had the same exception:
Assertion failed on expression: 'gForceReimports->empty()'I tried to add an empty script to a prefab and it showed this error.
When I remove the rigidbody of the prefab, it works. Infact the exceptions seems to be related to the rigidbody (gravity).Is there any limitation for the combo Rigidbody+script+prefab?
-
hamza_abouamal_Organization
Mar 22, 2020 23:01
Same issue on Unity 2019.3.6f1 on windows
note: i just updated my graphic card drivers, at the end of the installation my pc run into problem with blue screen. after the windows restart , i got the error -
Guillaume846
Mar 21, 2020 23:28
Same issue on Unity 2019.3.6f1 on Ubuntu 19.10.
The errors appeared after creating a 2d project. -
edisonlee55
Feb 06, 2020 15:45
Same issue on 2019.3.0f6 Personal URP
-
hk1ll3r
Feb 05, 2020 19:28
happends on 2019.3.0f6
-
h0neyfr0g
Feb 01, 2020 14:54
I just got this as well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
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