Quantcast
Channel: Questions in topic: "error"
Browsing all 7934 articles
Browse latest View live
↧

FindWithTag returns NullReferenceException

Hello, I have readed a lot of forums about this, and lots of answers, but I can not still solve this problem. When I have 1 door in my scene, everything is OK, but when I add another one, I am getting...

View Article


Can't build and save

When I try to add scenes to an existing file, it gives me the error: Moving files failed Moving /Users/williamthomaslanton/Desktop/New...

View Article


Error CS1519 help

I'm trying to make a script where a gunshot goes off after a certain amount of time. using UnityEngine; using System.Collections; public class Gunshot : MonoBehaviour { public AudioClip Gun; private...

View Article

Detecting Collision is not working

I Am trying to move the ball when the key "I" is pressed when making contact with the players, this is my code which is not working using UnityEngine; using System.Collections; public class KickForce :...

View Article

I don't know how to collect a capsule?

I can't how to correct the mistake in the final of the script, the code says CS1022 using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour{ public float moveSpeed =...

View Article


ArgumentException: Input Key named: Submit is unknown

![alt text][1]I set up a code to use the enter key to change level. if (Input.GetButtonDown("Submit")) { Application.LoadLevel("main"); } The submit input method is already in the input settings. It...

View Article

`SceneManager' does not contain a definition for `LoadScene'

hi, can someone please help me with this error: Assets/Menu.cs(53,22): error CS0117: `SceneManager' does not contain a definition for `LoadScene' here's my script, thanks. using UnityEngine; using...

View Article

What is wrong with my code?

I was following the survival shooter tutorial on unity's website for their health and damage scripts so I can learn how to do it. So I followed it I understood it until when I completed the scripts I...

View Article


Enemy AI Error

Hey guys. I'm having a problem with my Enemy AI moving towards my player. It keeps saying "Object reference is not set to an instance of the Object". Think anyone can help me fix it? My code is this;...

View Article


FaceBook sdk Error Coding

Sr about my English. i import facebook sdk 7.4.0 i want code with FB sdk but it's error when i build it. ![alt text][1] [1]: /storage/temp/67916-fberror.png How can i fix it? Thanks for any help.

View Article

Screen position out of view frustum

I know, this error again. I am getting this error, and i have checked all the other posts, but simply closing the Scene tab isn't working. neither is replacing the camera, creating a new C# file, etc....

View Article

IOS Crash during build on Mac for Unity 5.3.4

I have recently updated my project to 5.3.4 and I'm unable to make any builds for IOS. Everytime I build, Unity will crash in the middle of building and give me a message about how "Unity quit...

View Article

Error when trying to download asset

I'm trying to download an asset that I purchased but only get the following error when I try to download it. I do have the Unity plugin installed and updated and got an error when trying to download...

View Article


"Object reference not set to instance of object" but it is

I have tried to import some component from another program to my game but it generated errors. I imported it using the export on the other game and importing the package from my game. errors:...

View Article

Help me please with error CS0103

My code: #pragma strict var target : Transform; var distance = -25; var lift = 1.5; function Update () { transform.position = target.position + Vector3(0, lift, distance); transform.LookAt (target); }

View Article


need help with colision problem

I made this code but the colision part is not trigered using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { //fly speed public float speed = 2000.0f; //explosion prefab...

View Article

Getting an incorrect error

Error: You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can inherit from...

View Article


Android App crash with EGL Errorcode 3004

Here you can see the log. On some devices it gets stuck in the first screen, but in others (like the log owner), it simply crashes at startup 04-15 09:59:34.586 14063-14063/com.appname W/dalvikvm: VFY:...

View Article

Need Help! (How to make a game series by brackeys [video 2] )

Do you know what to do when there's a console error in unity that says : **MissingComponentException**: There is no 'rigid body' attached to the "ball" game object. You probably need to add a rigid...

View Article

Unity3D mash

Hello, I am trying to generate a Texture in runtime in Unity and set it to the mesh. But it does not work. The texture dont show up (?). Can anybody help me? My code: GameObject ekranprawy =...

View Article
Browsing all 7934 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>