Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Simple shaders no longer work

Discussion in '2019.1 Beta' started by davenirline, Mar 10, 2019.

  1. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987
    I'm using custom simplistic shaders for our 2D game. They no longer seem to work in Unity 2019.1.0b5. To replicate:
    • Create a new scene
    • Create a quad (GameObject > 3D Object > Quad)
    • Prepare a material that uses the attached shader (use any texture just for testing)
    • Set this material to the quad
    • Notice that the quad does not render anything
    Repeating these steps in Unity 2018.3 produces a shaded quad. Was there something I missed when using Unity 2019? New rendering rules or whatever?
     

    Attached Files:

  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    I followed these steps, but I can't see what "no longer seem to work". Can you post screenshots to show what you mean?
     
  3. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987
  4. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987
    Btw, I tried in a new empty project and it works. I'm working with some ECS packages to the project where the quad did not render anything. Could the packages have affected this?
     
  5. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    Maybe that or anything else in your project? If you believe it's package related, then I would create a new project and add one package after another to see when it stops working.

    Once you found what's causing the issue, please submit a bug-report with a project to reproduce the issue, as described in this document:
    https://unity3d.com/unity/qa/bug-reporting

    Please post the bug-report case number (number only, not the link) in this forum thread for Unity staff to pick up.
     
  6. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987
    It is indeed caused by a package. When I install Unity.Entities, the quad rendering is gone.

    Case number: 1135458
     
  7. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    You want to update the bug report with your latest findings and test-project, making it as easy for QA to reproduce as possible.

    If they need to check-out a github project first and if it's unclear what's causing the issue (even though you know already), etc... then it's less likely to be processed in a timely manner.
     
  8. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987
    How? When I try to login using Unity credentials, it doesn't let me.
     
  9. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,618
    Reply to the bug-report email you received. That way you can add text and attachments to the bug-report.
     
    LeonhardP and davenirline like this.
  10. Carpet_Head

    Carpet_Head

    Joined:
    Nov 27, 2014
    Posts:
    258
    Roll back to entities .24, it seems like .26 and 27 have this issue
     
  11. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,685
    LeonhardP and MadeFromPolygons like this.
  12. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982
  13. davenirline

    davenirline

    Joined:
    Jul 7, 2010
    Posts:
    987