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 ArticleCant 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 ArticleMy 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 Articleresults -> 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 ArticleUnexpected 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 ArticleI 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 ArticleNullReferenceException 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 ArticleThe 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 ArticleError 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 ArticleVisual 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 ArticleWhat 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 ArticleFunction 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 ArticleInvalid 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 ArticleHow 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 Articleoverloaded 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 ArticleI 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 ArticleObject 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 ArticleSoomla 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 ArticleDefault 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 ArticleError 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