Search Unity

Shader can't find Unity shader .cgincs after exporting as part of a package

Discussion in 'Package Manager' started by CaseyNSM, Mar 7, 2019.

  1. CaseyNSM

    CaseyNSM

    Joined:
    Aug 17, 2018
    Posts:
    8
    Excuse my lack of knowledge on the subject, I am attempting to make Unity packages for internal use at my company that include a particular shader for teleporting animations (World Space Transitions on the Unity Store)
    The thing is, after we export a scene as an asset (including all dependencies) and bring it into a fresh project the World Space Transition shaders spit out errors as such:



    Gathering what I googled these are files that are included in the installation of Unity itself and the reference to them in the code is pointing to the wrong directory(?)

    Here's one place it references the CGIncludes .cgincs:



    Is this supposed to be this way?
     
  2. benoitv_unity

    benoitv_unity

    Unity Technologies

    Joined:
    Aug 3, 2017
    Posts:
    40
  3. CaseyNSM

    CaseyNSM

    Joined:
    Aug 17, 2018
    Posts:
    8
    Thanks, I'll post there