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. Dismiss Notice

Official Docs about render events doesnt match Log

Discussion in 'General Graphics' started by Lulucifer, Sep 2, 2017.

  1. Lulucifer

    Lulucifer

    Joined:
    Jul 8, 2012
    Posts:
    358
    I log out the excute order of render funcs,it apearently does not match the official doc
    here are they
    counter.png docs.png
     
  2. jvo3dc

    jvo3dc

    Joined:
    Oct 11, 2013
    Posts:
    1,520
    That is typical. You would expect OnPostRender to never occur before OnRenderObject. Which version of Unity? Might be good to attach a demo project, so we can test on multiple versions of Unity and file a bug report if needed.
     
  3. Lulucifer

    Lulucifer

    Joined:
    Jul 8, 2012
    Posts:
    358
    Thanks,unity 2017.1.0f3, RenderFuncs.cs is attached on Camera,and ObjFuncs.cs should be attached to a GameObject has MeshFilter Component
     

    Attached Files: