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

Constant crashes after upgrading to URP

Discussion in 'Universal Render Pipeline' started by chgeorgiadis, Mar 26, 2020.

  1. chgeorgiadis

    chgeorgiadis

    Joined:
    Jan 30, 2018
    Posts:
    50
    I decided to upgrade my project to URP but I m having constant crashes, probably shader related. I am using unity 2019.3.6f1 and URP 7.1.8.

    Also I am having quite a few maximum number of global shader keyword exceeded. Is this the root of the problem? Can anyone give me a lead for this?
     

    Attached Files:

  2. SavaGhost

    SavaGhost

    Joined:
    Sep 20, 2018
    Posts:
    4
    Same here. Can't bake lights at all.
     
  3. Elvar_Orn

    Elvar_Orn

    Unity Technologies

    Joined:
    Dec 9, 2019
    Posts:
    158
    Hey,
    We need to take a look at this. Can you report an bug so we can have a repro project and find out what's going on?
     
  4. rickcollette

    rickcollette

    Joined:
    Mar 17, 2013
    Posts:
    304
    did this ever get a fix/workaround? Its happening to me as well...
     
  5. chgeorgiadis

    chgeorgiadis

    Joined:
    Jan 30, 2018
    Posts:
    50
    Yep I followed the instructions from here https://answers.unity.com/questions/1667795/maximum-number-256-of-shader-global-keywords-excee.html. First make sure to backup everything, also using visual studio search per folder structure avoid the plugins that are mainly shader related (in my case microsplat), just to be sure. Otherwise if you need extra keywords I would advise to talk with the creator of any such plugins about how to proceed.

    To this point I haven't noticed something out of ordinary, but I am kinda praying it will work up to release.
     
  6. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,444
    Quote your unity bug report case ID here if you have one?
     
  7. Anicrofmana

    Anicrofmana

    Joined:
    Sep 10, 2019
    Posts:
    27
    I just upgraded to URP too on 2019.3.6 and I can't bake lights at all... It crashes either when using indirect lighting or substractive.