Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

2019.2.17 - multiple 'Assertion failed on expression' errors when compiling

Discussion in 'Editor & General Support' started by jason_yak, Dec 20, 2019.

  1. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    Hi there,

    I've just updated from 2019.2.12 to 2019.2.17 and now getting these assertion errors when compiling? does anyone know what might cause this, know if its a known error, or know if this is going to cause runtime issues?? here are the errors (it logged the same two twice like this):

    Assertion failed on expression: 'pluginAppendices.size() <= 1'
    Assertion failed on expression: 'audioAppendices.size() <= 1'
    Assertion failed on expression: 'pluginAppendices.size() <= 1'
    Assertion failed on expression: 'audioAppendices.size() <= 1'

    all coming from:
    UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget)

    Thanks,
     
  2. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    3,453
    Dd you install the same modules you had installed with 2019.2.12, updated all your assets and so on?
     
  3. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    Yup, same modules. Plugins used are minimal, but yup I also checked these and updated any that had updates. When searching the forum for similar issues it seems this came up in 2017.x versions of unity but it’s unclear what causes it.
     
  4. APSchmidt

    APSchmidt

    Joined:
    Aug 8, 2016
    Posts:
    3,453
    Did you remove the Library folder before upgrading your project?

    If not, get back to the version of your project that was made with 2019.2.12, remove the Library folder and redo the whole upgrading operation. :)
     
  5. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    I've only just gotten around to trying this, but no that hasn't helped unfortunately. Freshly imported Library from scratch and still getting these same Assertions when compiling to the iOS platform using 2019.2.17.
     
  6. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    anyone from Unity, any idea whats causing this??
     
  7. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    and I can confirm this is still happening in 2019.2.18:

     
  8. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
    it'd be great to get some kind of advice about what to do, it's been 5 weeks since I posted this and no progression or any indication that someone has seen this :(
     
  9. jason_yak

    jason_yak

    Joined:
    Aug 25, 2016
    Posts:
    303
  10. AndyMartin458

    AndyMartin458

    Joined:
    Jul 15, 2012
    Posts:
    56
    Best bet is to file a bug. I have the same issue. No idea what's causing it.
     
unityunity