3D Platform Tutorial issues

Hello, welcome to my first post. I hope it makes sense. I’m new to Unity and was going through the 3D Platform Tutorial but was having problems right away. When I start the project, it gives me a message saying that the project was created with an older version of Unity and needs to be updated. No problem. The Unity I’m using is:

Unity 2 ver 2.6.1f3 (OSX)

I then double clicked on the “TheGame” scene but nothing showed up, which I assumed meant I’d be starting from scratch, but the problems start pretty early on because the PDF refers to objects in the scene that aren’t there. Here’s what I went through and what I tried:

“Move Lerpz onto the raised platform with the Jump Pad (the niche with the yel-*
low chevrons), near the Jail. (See the screenshot on the next page.)”

Well, the Scene/Hierarchy are both completely empty so I didn’t know where to put him. Dragging the “levelGeometry” prefab into the scene got me what I needed but the fact that it wasn’t already there like the PDF assumed had me worried.

“Drag the SpringFollowCamera script from the Project Pane onto the NearCam-*
era object in the Hierarchy Pane.”

Again, there was no NearCamera object so I just created a new camera. That seemed ok but I was having errors in the ThirdPersonController script on this line:
var cameraTransform = Camera.main.transform;
I had to dig through the API to figure out that “Camera.main” is the first camera tagged as “MainCamera”, but I assumed that the missing NearCamera object had that set up already.

So with the errors removed I thought I would be ok but at this point the tutorial started to become unusable. First of all I adjusted the Character Controller to exactly the numbers in the tutorial but the actual Capsule Collider was about 100x as big as Lerpz and way over his head, so I knew something was wrong. I tweaked with it to get it to look something like the screen shot (using values like .005). I then tried running the game again but I was getting messages in the Debug Console like:
“Rebuiling GUID cache: Deleting metadata library/metadata/ff/ff6b0beacd110544a000efbb4ada8c59 because it is an invalid meta data file! MetaData class can’t be loaded”

The game was still running though, but Lerpz would just fall into infinity and the camera wasn’t anywhere near him so I had to stop because I couldn’t go any further. Are there any known issues I should be aware of or is there an update I can get to get this fixed? This seems like a very important tutorial so I’d like to be able to use it.
Thanks
Mike

Hey there,

I can’t offer help (sorry) but I wanted to say I’m having the same issue. :frowning: I don’t seem to be able to run the tutorial file either due to this.

Can anyone from Unity offer guidance on this?

Any help would be appreciated.
Thanks!

:slight_smile:

Sarah

I’m having the same issue.

Turns out it’s a case of missing files in the download. Someone posted a solution and link on another board:

http://answers.unity3d.com/questions/2478/unity-3d-platform-tutorial-isnt-working

Try using the latest version of Unity. I downloaded today and everything worked smoothly.

I had the same issue and redownloaded the package and it worked.

Well, I have redownloaded and extracted and restarted unity several times now, and am still having the same problems. Both downloads seem pretty much the same; there is nothing in the hierarchy. There is a Camera in one. But nothing else. No “NearCamera” object, and nowhere to drag the “spring follow camera” script.

Perhaps someone could explain in this forum thread what exactly the NearCamera object is, how to create it in the hierarchy? Any help at all is greatly appreciated.

Oh that’s strange…all the sudden I am able to load the scene. Maybe I just kept loading the wrong project.

But I am still unable to add the SpringLookCamera script. In the debug screen it says “There is already a local variable with the name ‘newMaterial’.”

I have minor experience with coding; C+, C#, javascript html, and flash, mostly self-taught, and it’s actually been a while since I’ve done anything with coding, so I’ve been refreshing my memory. If I remember correctly, a variable is “var” in one of the strings, right? So I just need to find the var with the “New Material” and delete that? Forgive me if that’s incredibly ignorant. Like I said, been a long time. But I’ll be playing around until I get a response.

Trial error is what gets us ahead, right?

That is indeed…INCREDIBLY ignorant. But I forgive you.