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 error with HDRP

Discussion in 'High Definition Render Pipeline' started by Adurnha, Mar 17, 2020.

  1. Adurnha

    Adurnha

    Joined:
    Feb 28, 2019
    Posts:
    7
    Hello !
    I have a problem on my project in which we use HDRP.
    When navigating in our scene, we have the following error :

    Assertion failed on expression: 'reinterpret_cast<size_t>(dstPtr) >= m_BufferSize'
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


    The error occurs in HDRenderPipeline.cs, line 1767 :
    renderContext.Submit();


    Every camera movement (in editor mode) is producing hundreads of errors.
    Do someone have any idea why this is occuring ?

    Thank you
     
  2. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    701
    Hello !

    Which version of Unity Editor / HDRP are you using ?
    Does this happens all the time ?

    Don't hesitate to fill a bug report with your scene if you feel like the issue is not on your side and we'll gladly take a look.
     
  3. Adurnha

    Adurnha

    Joined:
    Feb 28, 2019
    Posts:
    7
    Hi, I am using Unity 2019.3.2f1 with HDRP 7.1.8.

    It happens all the time in a specific heavy scene.

    I filled a bug report in which I attached the scene

    EDIT : The error happens everytime something in the scene is edited, not only when camera is moving. When I select a gameobject in the Hierarchy, when I rename an object, etc.
     
    Last edited: Mar 17, 2020
    chap-unity likes this.
  4. IndividualGamesUnity

    IndividualGamesUnity

    Joined:
    Jun 11, 2019
    Posts:
    3
    I have the same error on a scene that contains very large amount of planes that act as grass on the Unity Terrain. I am also using Terrain Tools.
    Unity 2019.4.14f1, HDRP 7.5.2, Terrain Tools 3.0.2-preview.3

    Full Error:
    "Assertion failed on expression: 'reinterpret_cast<size_t>(dstPtr) >= m_BufferSize'
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)"

    How to re-create:
    Paint large amounts of trees(Each has 4 planes, an albedo texture and a normal texture applied) on a terrain.
     
    xvojta likes this.
  5. Mjello

    Mjello

    Joined:
    Mar 26, 2018
    Posts:
    35
    I see the same error on scene that loads 5000 instances of plants. The error stops after a couple of thousand errors and then reports no more errors. Unity 2021.2.11.f1 with the latest HDRP.

    In the game build there is no errors. Must be an editor thing.