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

Direct X 11 Issue in editor and game view

Hi everyone. I noticed that when I enable DirectX 11 on my project, both the editor view and the game view become very laggy. I´ve tested this on Windows 7, Windows8 and Windows 10 and the problem...

View Article


Cant SendMessage to a group of gameobjects using...

I've followed the Unity tutorial on Roll-A-Ball, and thought I could make a cool game some existing objects from that game. The problem I'm having is that when my player reaches y <-2, it should die...

View Article


My KillPlayer Code wont work! Please help!

I typed the code: using UnityEngine; using System.Collections; public class KillPlayer : MonoBehaviour { public LevelManager levelManager; //Using this for initalization void Start () { levelManager =...

View Article

results -> dynamics.bounds error

I'm having trouble with this type of error, which closes unity. 2.1 unityCar used. any solution? unity 5 is a headache!

View Article

Unexpected symbol 'return' in class, struct, or interface member declaration

I've got a book to learn Unity basics. After retyping an IA script, i see that it's full of errors. It's supposed to be a script which sets the "joueurVu" variable to true when the First Person...

View Article


I made this script instance but I get this error: Assets / Prefab /...

using UnityEngine; using System.Collections; public class PrefabSpawner : MonoBehaviour { public GameObject Prefab; private bool PrefabPosL = true; private bool PrefabPosR = false; // Use this for...

View Article

NullReferenceException and m_InstanceID == 0 on LoadLevel (C#)

So I have a script that spawns in my player as soon as the level loads. It works perfectly fine when loading the scene straight-up. However, when I load that scene from another scene using the...

View Article

The left-hand side of an assignment must be a variable, a property or an indexer

I looked at other threads, but could not find an answer. The error is on line 6, 7 and 8. Could someone help me out? using UnityEngine; using System.Collections; public class SaveLoad2 : MonoBehaviour...

View Article


Error CS1061 Type UnityEngine.Camera doesn't contain a definition for...

Hi everybody! I'm creating a project ( in unity 5 ) from an existing one. Basically I have to show in a 3Dmonitor with an NVIDIA system, an object in 3D via 2 cameras and quadbuffers. The existing...

View Article


Visual Studio Loading Error

I'm having this problem when i'm turning my game into a windows store game, i've turned it into a .sln and when i open it in Visual Studio it saying load failed no mater what i do i can't open it, i'm...

View Article

What is wrong with this simple code?

I wanted a code that can detect a mouse click and swipe. I searched for that and found this one. All the comments were positive so I tried it out, but there were a few errors where it said. ; expected....

View Article

Function Update not working

I have a javascript that is supposed to let you pickup a battery but other stuff happens but when the script gets to the function update, i get errors. Can someone PLEASE help var monster : GameObject;...

View Article

Invalid editor window UnityEditor.FallbackEditorWindow...

Hello, I've got a really big problem in Unity, with each new project, event if it's empty, when I'm tryin to start the game, the game is breaking and I'm getting the same Error as it is in the title...

View Article


How do i fix this issue?...

I get this error when opening Unity 5.3.2 error CS1679: Invalid extern alias for /reference. Alias 'D:/-' is not a valid identifier It has happend before but i cant remember how i fixed it. Switching...

View Article

overloaded Raycast

So ive been looking around, and I cant find a clear answer for this. I thought by asking this I might be helping others too. So I'm trying to raycast from a point downwards, and check if it hits a...

View Article


I can't figure this out. I have Unity 5.3.1 and this error keeps popping up....

here is the Script: using UnityEngine; using System.Collections; public class Enemy : MonoBehaviour { public float moveSpeed = 2f; // The speed the enemy moves at. public int HP = 2; // How many times...

View Article

Object reference not set to an instance of an object [HELP!]

I'm getting this error but I have no clue whats wrong with my code. I am not getting any compile errors, but errors when I start the game. The error is: NullReferenceException: Object reference not set...

View Article


Soomla import core package error

Hello. So I just imported the soomla-unity3d-core.unitypackage file and got this error: ![alt text][1] [1]: /storage/temp/63258-error.png I looked on google but didn't seemed to find much about it....

View Article

Default plane object display error.

Hi,I have a problem. Look like picture 1,the red circle place ,that's a simple default object(plane).When I get to a place ( z position by 10000),the mistake happened.![alt text][1] And picture 2,When...

View Article

Error CS1525 and Error 8025

Please help me ! error CS1525 :Unexpected symbol '}' error CS8025:Parsing error Make a FPS game and give me error in PlayerMotor.cs using UnityEngine; [RequireComponent(typeof(Rigidbody))] public class...

View Article
Browsing all 7934 articles
Browse latest View live


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