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

error CS1525: Unexpected symbol `offsetX'

I'm making my first ever game, and I got this error: "error CS1525: Unexpected symbol `offsetX'" Can you tell me how can I fix it, answer as fast as possible, please. (: The script: using UnityEngine;...

View Article


Trigger code gives error

Every time I put in the following code: function OnTriggerStay() { }; It gives me errors:![alt text][1] [1]: /storage/temp/70923-xcvbhnm.png Can anyone tell why?

View Article


WTF does this error mean

im teaching myself how to create and script animations by myself and so far so good the creating part was easy but i cant figure out what the correct scripting is to make the animation play at the...

View Article

Sudden GUI.DrawTexture errors

Hi, this morning I suddenly got errors when trying to compile scripts. Everything was working the previous day. I'm using Unity 5.2.4. So when I try to compile for instance something like this I get...

View Article

Why doesn't enabling and disabling not work?

I am a noob a programer but I can't find how to find a solution to this error: NullReferenceException: Object reference not set to an instance of an object CTF.Changing_Color.ChangingFlagColor () (at...

View Article


PİNG WATER !! HELP MEEEEEEEEE !!!!!

I can't fix this :( HELP MEEEEEEEEEEEEEEEEEEEEEE !!!!!!! HEEEEELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP

View Article

Getting a Object reference not set to an instance of an object

CAN SOMEONE PLEAAASE HELP Hay guys, Now first of all I know this code is hideously hard coded, but this is a prototype to test some functionality, I can't seem to get past this error... I have...

View Article

CS0246 type or namespace could not be found. Using Standard Asset...

I'm using the Unity Standard Asset FirstPersonController asset in my game. I am attempting to access a script that is attached to a child that I've put into the "Player" GameObject. So the setup is as...

View Article


Game has turned pink except the sky, what should i do?

I'm using unity 5 and i am begginer and have created a game using Brackeys tutorials.But it having problems. Game was working nicely in unity but after converting it to standalone it is not working....

View Article


Why do all of my scripts say "No MonoBehavior scripts in the file, or their...

In my project, I had a bunch of C# scripts that were working pretty well. Then, I created one new one, without editing it, and tried to attach it to an object. All of the sudden, every single C# script...

View Article

C# help with collect/destroy/displaying quantities and Audio source problems

Hello, I am creating a 3d game where the player must collect a certain amount of meatballs (stored in thr corner of screen) while avoiding the enemy ai to win. However I am not fluent in C# so for the...

View Article

Odd/Even tag Errors

So I have had issues with the Odd Tag in Cleanup error (which still hasn't been fixed). Today I got some more lovely errors: ![alt text][1] [1]: /storage/temp/71151-errors.png Odd tag in Exec! Odd tag...

View Article

Unity keeps rejecting my code, even when there are no errors

So, I am a novice making a game in unity, however, after fixing a few errors, Unity now refuses to load my script C# because it is saying "The associated script cannot be loaded. Please fix any...

View Article


State Machine Hell

Okay so, I came across a nice little fix for my menu and start game problem in my coding. The problem is that I got errors coming from every orifice mostly the top half. This is the template I had:...

View Article

Understanding and declaring rays

I'm just trying to declare a Ray, and am following the same format that is shown in this post [here](http://answers.unity3d.com/questions/166502/how-to-understand-ray-class.html), but for some reason,...

View Article


error CS1525: Unexpected symbol `'

I am trying to apply damage to the player I got this error. error CS1525: Unexpected symbol (12,61)`' . using UnityEngine; using System.Collections; using Opsive.ThirdPersonController.Wrappers; using...

View Article

Unity 5.3 Grey Screen - Doesn't Open

I installed the latest version of Unity and when I try to open it the luncher shows me a grey empty screen. Here's the log file:> LICENSE SYSTEM [201662 12:20:7] No start/stop license dates set...

View Article


I have a code that changes my jump height but i keep getting a error:...

function OnTriggerEnter (other : Collider) { if (other.CompareTag("Player")) { GetComponent(character_code).jumpSpeed = 20; } }

View Article

how to fix unexpected symbol 'MonsterPrefab' error CS1525 for a tower...

I tried using this code in c sharp script but could not get the script to work. It always kept saying ,"Assets/PlaceMonster.cs(8,52): error CS1525: Unexpected symbol 'MonsterPrefab', expecting...

View Article

Error in load images to scene on ubuntu, how to fix this?

When I add a new image or when I create a new animation, by dragging it to the scene, the image doesn't load when I run the game. How to fix this? I use ubuntu. ![alt text][1] [1]:...

View Article
Browsing all 7934 articles
Browse latest View live


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