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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

(Case 1082296) Shadergraph compilation error when upgrading from 2018.2.5f1 to 2018.3.0b1

Discussion in '2018.3 Beta' started by Desoxi, Sep 18, 2018.

  1. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    195
    I wanted to try out a few thing in the shadergraph in the 2018.3 version (like _CameraDepthTexture usage in the graph via the reference name), but after upgrading one of my projects i only receive the following messages:


    Code (CSharp):
    1. Compilation error in graph at line 471 (on d3d11):
    2. undeclared identifier 'Use_Macro_UNITY_MATRIX_M_instead_of_unity_ObjectToWorld'
    3. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    4.  
    EDIT: not sure if this is a bug or i just forgot something while upgrading (like the particle system upgrader for the particle system for example)
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,194
    Have you opened the packmanager window and updated to shader graph 3.3.0?
     
  3. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    195
    I tried to, but the package manager doesnt show the shader graph package for some reason:

    capture111.PNG

    EDIT: Ha! Im just blind. There seems to be a little "Advanced" drop down on the top right corner, which enables all preview packages.
    Ill try to update the shader graph that way.
     
  4. Desoxi

    Desoxi

    Joined:
    Apr 12, 2015
    Posts:
    195
    Okay updated the package to v3.3.0 but the problem remains.
    Reported a bug (CASE 1082296).