Assertion failed on expression: 'gOnDemandAssets->empty()

I’m not sure where to post this as I’m not given much context but I’ve been getting multiples of this error lately in 2020.1.0a2x…

Assertion failed on expression: 'gOnDemandAssets->empty() || GetOnDemandModeV2() != AssetDatabase::OnDemandMode::Off'

Any ideas?

I get this too with after updating to 2019.3.3. Strange enough it does show up under Windows only while the same version runs fine on macOS

I’m on a Mac. Sounds like it could have something to do with paths. Backslash vs forward slash? Or a space in the path name that doesn’t play well?

I’m getting this too after updating to 2019.3.5f1. No idea how to fix this, no context.

found out what needed it. Entities 0.2.0 and higher.

1 Like

I get this too with after updating to 2019.3.13… and own project totally broken…
No ecs in own project, we downgrade to 2019.2.12, and failed to create a smaller bug project

Im constantly getting these with pretty much every reimport. Assetdatabase v2 is enabled.

For the record I eventually stopped getting this error. I’m now on 2020.2a though. Not sure what fixed it. May have been deleting my Library folder? Clearing the cache? Or simply updating to a newer version of either the editor or a package.

[mention|H3Ntxg3NVL0szk/hi2QxDA==] [mention|ZC9DhR82zjQBmxa2B0HOCw==] [mention|o9gHiWYIrx6RODrYBLK1rQ==] [mention|Hu0Cr05L6AaVpFg7/EAwnQ==] The problem has just been solved it seems. Hope the fix works for you guys.

1 Like