Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
23
Found in
2020.1.0a1
Issue ID
1177591
Regression
Yes
Assertions spam the Console when minimizing the Editor Window
On 2020.1, if you start a new project you will get spammed with a lot of errors and assertions.
Every time the user would minimize the Editor window or click in and out of the Editor Window, the erros get printed again and again in the console
To reproduce:
- Start a new project using 2020.1.0a1
- notice the assertions:
Assertion failed on expression: 'txn.Exists(guid)'
Assertion failed on expression: 'false'
Replicates in Widows, MacOS and Linux
Reproducible in 2020.1.0a1, 2019.3.0b1
Cannot reproduce in 2019.2.0a12
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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
niels_unity796
Jan 07, 2021 14:58
Still not fixed in 2020.2.1f
Tkrain42
Oct 10, 2020 06:05
it's not fixed in 2020.1.3
AlbertoWF
Dec 11, 2019 09:09
It happened to me in Unity 2019.3.0f1.
The error messages are:
"Assertion failed on expression: 'txn.Exists(guid)'"
and
"Assertion failed on expression: 'initialScriptRefresh && GetAssetTypeV2(guid) == AssetDatabase::kSerializedAsset'"
cassidycurtis
Sep 24, 2019 17:24
I can confirm KINDOF3D's workaround above. I quit Unity 2019.3.0b1, started Visual Studio and opened a few project files, and then restarted Unity. The assertion failure errors seem to have gone away.
rmail2006
Sep 19, 2019 21:12
Got the issue in 2019.3.0b1. Started a new project with no errors. Created a C# script and got the errors. Cleared teh errors, deleted the script, and they reappeared on deletion.
kindof3d
Sep 16, 2019 10:43
Hey, the problem is gone for me if I open VS Code with the project files open BEFORE I open Unity.
jjfawkes
Sep 09, 2019 14:04
When is this going to be fixed? Beta (2019.3.0b2) is currently not usable at all due to this bug.
Peter77
Sep 01, 2019 04:22
Related forum thread:
https://forum.unity.com/threads/case-1180690-assertion-failed-on-expression-txn-exists-guid.737333/