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

Trying out Unity and imeadiatly ran into problems

Discussion in 'Editor & General Support' started by abundantcores, Dec 16, 2014.

  1. abundantcores

    abundantcores

    Joined:
    Dec 16, 2014
    Posts:
    4
    I'm new at this but have been successfully using another Engine for a while.

    The first thing i tried to do was generate a terrain, i got the transparent plane but right away i got a red error message saying "Missing Component Exception: there is no 'collider' attached to the "terrain" game object, but the script is trying to access it"

    And now if i try to pain on a texture or whatever the "scene" window goes gray and locks me out

    It should be a pretty straight forward thing to do, create a basic terrain? so what's gone wrong?

    Thanks :)
     
  2. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    It looks like your terrain collider was deleted for some reason. Have you tried adding it back: Select the terrain in the hierarchy, select Component/Physics/Terrain Collider.
     
  3. abundantcores

    abundantcores

    Joined:
    Dec 16, 2014
    Posts:
    4
    Thanks i got that working again ^^^

    But i think i'm going to give up on Unity, followed some Youtube instructions on how to create a basic Ocean, This one

    Looked simple enough until i started following it and realised it looked nothing like what it did in Youtube, i persevered and when it came to testing it it would error here error there.... errors everywhere.... "must fix before running" even just dragging the bump map, the texture, Sky Box... over resulted in just a plain blue plane, no sun, no waves, nothing.....

    It was a brand-new install of Unity, followed the instruction exact and right from the first move it clearly was not doing what it was supposed to.

    Thats has been my experience of it right from the first minute and at every single stage, incredibly frustrating and arduous, i have tried out many different engines and never known anything like it .

    which is a shame as so far it the best engine for Importing .fbx accurately.

    I do want to get this going, but i feel i'm probably going to spend the rest of my life in here with this as i would have to problem solve at every little step.

    Harware:

    Windows 8.1 x64
    GPU: Powercolor R9 290 PCS+ @ 1125/1450 (Driver 14.12)
    CPU: AMD FX-8350 @ 4.6Ghz
    MOBO: Asus Sabertooth 990FX
    Corsair DRR3 8GB
    Main Drive: Samsung 830 SSD
    Storadge: 2x 500gb
    PSU: SeaSonic 750 Watt
     
    Last edited: Dec 17, 2014
  4. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    The errors that you are getting ("must fix before running") are scripting errors. This means that you typed in the script incorrectly (got the case wrong, or missed a semi-colon, that kind of thing. You'll run into things like this with any engine that allows you to program it. I recommend reviewing the script that you typed in, or just using one of the built in water systems. I recommend learning c# the unity way here:

    http://unity3d.com/learn/tutorials/modules/beginner/scripting
     
  5. abundantcores

    abundantcores

    Joined:
    Dec 16, 2014
    Posts:
    4
    I don't do coding and i have no time to learn it, i didn't add or edit any code, after adding the bump map and sky box it looked like this... i had not added the script at this point and already it looks nothing like it does in Youtube at this point.



    TBH i don't want to be trying to code my own Ocean from scratch at this stage, I can't find any built in water systems, where would they be?
     

    Attached Files:

  6. Jaimi

    Jaimi

    Joined:
    Jan 10, 2009
    Posts:
    6,169
    Looking at your screenshot, and looking at the tutorial, it appears you missed the step where he adjusted the tiling of the normal map to be the same as the scale, and the step where he went into the render settings, and set the skybox material.

    Anyway, the built-in water is in the standard assets/water(basic) and water(pro) folders. You'll need to go to assets/Import Package to get them into the project if you haven't done so.