Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

I added probuilder and now I have compile errors referring to a camera and a main reference.

Discussion in 'World Building' started by Stubbornnut, Nov 24, 2018.

  1. Stubbornnut

    Stubbornnut

    Joined:
    Oct 3, 2018
    Posts:
    11
    im totally hooped

    1) Name of tool
    probuilder
    2) A brief description of the issue
    after i installed it from the asset store there are compile issues and there is no probuilder window in the task bar
    3) Your system environment (Operating system, version of Unity, version of tool)
    windows. unity 2018.2.12f1
    4) Full description of issue
    i cant get unity to work with probuilder because there are compile red errors stopping the program from working.
    "camera does not contain a definition for main"

    Someone Please help!
     
  2. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Hi! For Unity 2018.1 and above, you need to use the Package Manager version of ProBuilder. Easy fix!

    1. Delete ProBuilder from your project
    2. Open "Window > Package Manager"
    3. Find and Install ProBuilder
     
  3. Stubbornnut

    Stubbornnut

    Joined:
    Oct 3, 2018
    Posts:
    11
    Thank you!
     
    gabrielw_unity likes this.
  4. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Actually- you might need to clear up those errors separately. After you delete ProBuilder from your project, make sure there are zero red errors remaining. If there are, fix those, double check, and then install via Package Manager only if there are no red errors :)