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

Bug Getting errors in new project in unity version 2022.1.21f1

Discussion in 'Shader Graph' started by btsn, Oct 28, 2022.

  1. btsn

    btsn

    Joined:
    May 12, 2017
    Posts:
    40
    To repro, just create a new urp project in 2022.1.21f1.

    Code (CSharp):
    1. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\BaseShaderGUI.cs(212,34): error CS0103: The name 'MaterialAccess' does not exist in the current context
    2.  
    3. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGraph\Targets\BuiltInSubTarget.cs(33,28): error CS0246: The type or namespace name 'BuiltInShaderGraphSaveContext' could not be found (are you missing a using directive or an assembly reference?)
     
    Putcho, FaberVi, GamesbyJP and 5 others like this.
  2. xNex

    xNex

    Joined:
    Mar 13, 2013
    Posts:
    3
    Also many errors:
    Code (CSharp):
    1. Asset Packages/com.unity.shadergraph/Editor/Generation/Targets/BuiltIn/Editor/AssetPostProcessors/ShaderGraphMaterialsUpdater.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
    (WebGL target)
     
  3. CameronDWills

    CameronDWills

    Joined:
    Feb 26, 2021
    Posts:
    89
    I'm also seeing errors after updating
    Code (CSharp):
    1. Library\PackageCache\com.unity.visualeffectgraph@13.1.8\Runtime\Utilities\Playables\VisualEffectActivation\VisualEffectActivationClip.cs(11,12): error CS0246: The type or namespace name 'VisualEffectActivationBehaviour' could not be found (are you missing a using directive or an assembly reference?)
    2.  
    3. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGUI\BaseShaderGUI.cs(212,34): error CS0103: The name 'MaterialAccess' does not exist in the current context
    4.  
    5. Library\PackageCache\com.unity.shadergraph@13.1.8\Editor\Generation\Targets\BuiltIn\Editor\ShaderGraph\Targets\BuiltInSubTarget.cs(33,28): error CS0246: The type or namespace name 'BuiltInShaderGraphSaveContext' could not be found (are you missing a using directive or an assembly reference?)
    Downgrading to 2022.1.20f1 has no errors
     
  4. unityruba

    unityruba

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    233
    This issue was caught by our devs and the fix for it is in 2022.1.22f1 which should land on November 9th.
     
  5. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    341
    If it was caught by your devs why was it released?
    And why hasn't it been pulled from the release?
     
  6. DEEnvironment

    DEEnvironment

    Joined:
    Dec 30, 2018
    Posts:
    436

    any hints when 14x will go live out of beta ?
     
    FaberVi likes this.
  7. MikeS70

    MikeS70

    Joined:
    Sep 15, 2018
    Posts:
    2
    Well, if you think you can code the editor better, then... apply for a job and improve it. We, the mortals, will be grateful.
     
  8. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    341
    I never said I could code the editor better.
    Bugs happen all the time, that's why Unity should have official QA testers, as well as automated tests in place to reduce the chances of bugs like this getting released.

    And if you do find a showstopper bug like this one is you should fix it ASAP instead of waiting 2 weeks to release a fix.
     
    Gordune and FaberVi like this.
  9. FaberVi

    FaberVi

    Joined:
    Nov 11, 2014
    Posts:
    145
    News for out of beta?