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

Resolved (Case 1300707) After updating from Unity 2020.1.17f1 to Unity 2020.2.0f1 nothing is rendered anymore

Discussion in 'Graphics for ECS' started by MNNoxMortem, Dec 20, 2020.

  1. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    upload_2020-12-20_17-24-7.png

    This is my simple material. I have two commits, one with 20171.17f1 and one after updating it. The material is also very simple. After upgrading it nothing is rendered anymore.

    The Inspectory still shows the same expected values
    upload_2020-12-20_17-25-38.png

    The migration is from 9.0.0-preview.72 to 10.2.2 and there is nothing in particular special mentioned in the upgrade guideline
    upload_2020-12-20_17-27-18.png

    https://docs.unity3d.com/Packages/c...niversal@10.2/manual/upgrade-guide-7-2-0.html

    Any ideas on what has changed with this major release or with the shown material shader graph?

    These are the git changes I can see that stem from the upgrade
    upload_2020-12-20_17-28-10.png
    upload_2020-12-20_17-28-24.png
     
  2. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
  3. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    upload_2020-12-20_17-29-53.png
    upload_2020-12-20_17-30-16.png

    This is a bit annoying for a release where I don't see any breaking changes announced.
     
  4. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    This is the ShaderGraph Shader after the update.
     

    Attached Files:

  5. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    btw: The Havok Visual Debugger sitll shows the correct MeshCollider so I am pretty sure the shader, Hybrid Renderer or something else is broken here and not the mesh:
    upload_2020-12-20_17-44-15.png

    The Frame Debugger also shows no pass for this mesh.
    upload_2020-12-20_17-48-4.png

    These are the Camera Settings
    upload_2020-12-20_17-49-13.png
     
    Last edited: Dec 20, 2020
  6. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Thanks to @eizenhorn who brought me (likely unknowingly) to the right direction. The setting that breaks the rendering is the SRP Batcher:
    upload_2020-12-20_17-53-29.png
    Turning it off causes the mesh to be rendered again:
    upload_2020-12-20_17-53-48.png
     
  7. sietse85

    sietse85

    Joined:
    Feb 22, 2019
    Posts:
    99
    Same problem, same solution. Weird in 2020.1 everything worked for me.