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

Unassigned Reference Exception ?

Hello, I have strange problem with my code and I'm not sure how to tackle that. So I have : -Generator object with script below as prefab. -Solar Panel object with button, text and image components (4...

View Article


MissingRefrenceException help for enemyai

I have some code for a simple ai. My game has a wave system and respawning but when the player dies the game stops and I get this error MissingRefrenceException The object type "Transform" has been...

View Article


All compiler errors have to be fixed before you can enter playmode!...

i don't get it

View Article

BCE0075 Namespace cannot be used as expressions

var hitPoints = 100.0; var deadReplacement : Transform; var dieSound : AudioClip; function ApplyDamage (damage : float) { if (hitPoints <= 0.0) return; hitPoints -= damage;...

View Article

The referenced script on this Behaviour is missing! (One solution to this...

I am learning Unity scripting in c#, and when doing the first script tutorial, I got the error "The referenced script on this behaviour is missing!" You will get this error if the public class name in...

View Article


my Monodevelop can't code, any help or solution?

so i don't know what happen but suddenly i can't code with monodevelop. i already tried [this][1] and [this][2] but it still wont work. updating and reinstalling does not work too. need help :| im...

View Article

Help! i have warning message "OnRenderImage() possibly didn't write anything...

[1]: /storage/temp/93205-sketch3.png using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(Camera))] public class BlackHole : MonoBehaviour { //public...

View Article

NullReferenceException: Object reference not set to an instance of an object

I have come across a lot of people that have had this error, however I haven't been able to fix the error myself. I am simply trying to have an enemy collider deal damage to my player. Player: public...

View Article


Pb : Screen position out of view frustum - What's that ?

Hi, I have an out of nowhere problem : Screen position out of view frustum (screen pos 622.000000, 0.000000) (Camera rect 0 0 847 416) UnityEngine.SendMouseEvents:DoSendMouseEvents(Int32) I don't know...

View Article


Can someone make sense out of seemingly inconsistent null reference exception?

Today I encountered the weirdest error, I hope someone can make sense out of this cause I'm baffled. I am a relative noob to Unity so please forgive and point out any wrong practices or design...

View Article

Standard First Person Controller Verticies

I'm trying to use a first person script to control one of my avatars in the game I'm making, and I keep getting an error that says "IndexOutOfRangeException: Array index is out of range". It doesn't...

View Article

Hello. I'm getting this error message. (58,246) CS1525: Unexpected Symbol...

Here's a copy of my code... I can't seem to figure what the problem is using System.Collections; using System.Collections.Generic; using UnityEngine; public class KeyBoardMoves : MonoBehaviour { public...

View Article

This error is killing me please help.GetComponent requires that the requested...

I'm a beginner, and I am currently trying to create an animator script to go along with the movement. It is flowing fine but ran into this problem "GetComponent requires that the requested component...

View Article


Getting "Write to location 00000000 caused an access violation", while my...

I have a Unity Application thats running on a Computer with an **Oculus** connected, so the game is running on the oculus (I don't know if the error has something to do with the Oculus or VR in...

View Article

When i try to build my game... Issues occur

***When i tried to build my game to test it, i got this error:*** Error building Player because scripts have compile errors in the editor ***Upon checking the editor log, i found this:*** Refresh:...

View Article


Expression denotes a type where a variable, value or method group was expected.

Here is my script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Whatever : MonoBehaviour { public GameObject a; // Use this for initialization void Start...

View Article

My Camara Will Not Rotate Properly.

I am trying to have a camera rotate but it rotates WAY too fast (ex when I rotate on the x by 1 it goes to 180) please help btw here is my code : ![using System.Collections; using...

View Article


I keep getting these two compiler errors when I open Unity, does anyone have...

These are the two errors: Assertion failed on expression: 'SUCCEEDED(hr)' Assertion failed on expression: 'wmiOpened' I have already searched countless forums for hours and I am just lost. I can't even...

View Article

HELP C# is not working.

using UnityEngine; using System.Collections; public class DfScrip : MonoBehaviour { *public int five; five = 5;* < this gives me an error, and i don't know why(error CS1519: Unexpected symbol `=' in...

View Article

Unreseolved NullReferenceException: Object reference not set to an instance...

I have a Game Object ghostBuddy (with a collider) with script GhostBuddy.cs as here: using UnityEngine; using System.Collections; namespace GameScripts.BalloonBalance { public class GhostBuddy :...

View Article
Browsing all 2891 articles
Browse latest View live


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