Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  5. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

ProBuilder? Shaders? I'm new to this and don't know what to do

Discussion in 'AR/VR (XR) Discussion' started by Bledso, Aug 14, 2018.

  1. Bledso

    Bledso

    Joined:
    Aug 14, 2018
    Posts:
    3
    Hey, so I've made VR app using some ProBuilder form asset store, and unity version 2018.1.7f1. I've tried to build app for android and I had these errors:

    Shader error in 'ProBuilder/Standard Vertex Color': '' : 'UNITY_PASS_FORWARDBASE' already defined at line 34 (on gles)


    Shader error in 'ProBuilder/Standard Vertex Color': '' : 'UNITY_PASS_FORWARDADD' already defined at line 223 (on gles)


    Shader error in 'ProBuilder/Standard Vertex Color': syntax error: unexpected token ';' at line 288 (on gles3)


    Shader error in 'ProBuilder/Standard Vertex Color': '' : 'UNITY_PASS_META' already defined at line 348 (on gles)


    I've repaired only one error, at line 288 and couldn't repair rest. I've found info that probuilder from asset store doesn't work with this version of unity so I've downloaded higher version of probuilder using package manager. These errors disappeared, new less important errors appeared but it didn't help. I can build apk but when I run it on android device then I can only see basic view from unity. During build I also get a message "No cameras rendering" I've made some apps in unity and I have never had this issues.
    Help :(o_O
     

    Attached Files:

  2. Bledso

    Bledso

    Joined:
    Aug 14, 2018
    Posts:
    3
    Fixed, no help needed
     
  3. VinniHashirama

    VinniHashirama

    Joined:
    Feb 4, 2018
    Posts:
    2
    How did you fixed that?