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

The 3D Platform Tutorial PROBLEM! (simple?)

Discussion in 'Editor & General Support' started by ibz_1000, Feb 21, 2012.

  1. ibz_1000

    ibz_1000

    Joined:
    Feb 21, 2012
    Posts:
    6
    Hi Guys, Basically a newbie to the whole Unity thing...been wanting to mess around with the tutorial but I cant even get the thing started!

    As soon as i try run the game, it says "Assets/Scripts/Camera/FadeoutLineOfSight.js(125,42): BCE0067: There is already a local variable with the name 'newMaterial'

    Anyone have an idea on what could be wrong?

    really would appreciate the help and im sure its just a small little change i would have to make.
     
  2. ibz_1000

    ibz_1000

    Joined:
    Feb 21, 2012
    Posts:
    6
    Anyone????
     
  3. Iron_Jester

    Iron_Jester

    Joined:
    Mar 26, 2012
    Posts:
    1
    I have the same problem ibz_1000. I see you asked your question 4 weeks ago and nobody responded. At first glance, this forum is as worthless as all the forums I've been on.
     
  4. Sir-Tiddlesworth

    Sir-Tiddlesworth

    Joined:
    Oct 19, 2011
    Posts:
    908
    Try deleting the script altogether. If memory serves me correctly, this script is not necessary for the game to run.

    Just give the forum a chance. Plus, you are not helping answer ibz_1000's question.
     
    Last edited: Mar 26, 2012
  5. RoXCoder

    RoXCoder

    Joined:
    Mar 3, 2012
    Posts:
    98
    You are declaring a variable for the second time.
    Check line 125 in that script.
     
  6. cm

    cm

    Joined:
    Jul 31, 2012
    Posts:
    14
    The 'tutorials' should always be updated with the Unity program. Otherwise, they cause problems and confusion for new users. The forums don't typically pick up the ball either. Even with the free version of Unity, the tutorials still need to work. At the very least, info should be included on the web pages to tell users what to do. Customer Service 101.

    Also, there is an obvious (and frequently requested) need is for basic tutorials that teach new users how to build simple applications before showing off the extensive capabilities in a completed project. Often, those projects are also geared to the pro versions. Those additional features should be a separate application for those lucky users who can afford the cost of it. :)