Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Assertion failed on expression

Discussion in 'Editor & General Support' started by Zqweez, Jan 21, 2020.

  1. Zqweez

    Zqweez

    Joined:
    Feb 2, 2018
    Posts:
    2
    So Im getting this error:
    Assertion failed on expression: 'task.rasterData.vertexBuffer == NULL'
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Nothing really happens but it is annoying to keep getting this error in the console. Anyway I know this has been up before and I've read a lot but it seems like a kind of bug for over a year ago and should be solved? And it should be related to particle systems. I've never got this error before but when i implemented a line renderer it started to show up.
    No clue why but after a time studding it, it seems like the error only occurs when a particle system is doing its thing inside the lines of my line renderer. Someone who knows how I can solve this?
     
    Last edited: Jan 21, 2020
  2. Zqweez

    Zqweez

    Joined:
    Feb 2, 2018
    Posts:
    2
    Okay never mind I figured out what the problem was
     
  3. pontushero

    pontushero

    Joined:
    Oct 18, 2018
    Posts:
    3
    Could you please tell what the problem was?
     
  4. nickpreveza

    nickpreveza

    Joined:
    Jul 20, 2017
    Posts:
    1
    Bump, also encountering this now that I moved to URP.
     
  5. silenterus

    silenterus

    Joined:
    Nov 8, 2019
    Posts:
    10
    yeah plz share your fix.....
    Same problem here.
    Not only with LineRenderer but also with TrailRenderer and only when these Components interacts with specific ParticleEffects.

    I can either turn the Line/TrailRenderer off and the Particle on or the other way around. Only when both are active i encounter the error....

    Really strange....
     
  6. burn_barrel

    burn_barrel

    Joined:
    May 2, 2018
    Posts:
    3
    I'm also getting this when using the particle system in 2019.3.0f6. Like some other people here, I'm also using both a trail renderer and a particle system - I had the trail renderer first with no problems, then the error started showing up when I added a particle system. I submitted a bug with a sample project.