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

All C# Shader Scripts giving CS 8025 Parsing Error.

I've created basic scripts using Project create->C#Script, so I know it works. But, whenever I attempt to use any Shader script, I get the CS8025 Parsing Error for the -- Shader "Name" { -- portion...

View Article


The type or namespace name PlayerHealth could not be found (are you missing a...

Hi so I'm just started using unity and saw a tutorial on youtube on how to make a zombie FPS and when I use PlayerHealth for an enemy attack it gives me the error in the title. Here's my code, using...

View Article


Getting an error while trying to get scene name

So I want to check if the player is in a specific level in the game I have been creating so that certain scripts can execute. However, I can't quite seem to figure out how to get the scene's name as a...

View Article

iOS Build throwing error on launch.

Hello, I am getting this error when I build and run my project through xcode after building in Unity. 2016-04-29 15:57:20.940 project[973:510098] [PW] [I] +[UIApplication(Pushwoosh)] Pushwoosh:...

View Article

Place Trees in Terrain editor..

I can't seem to get this to work. I try to apply a custom tree into the "Place Trees" in the Terrain editor, but it all ends up with nothing except errors saying that I have to apply a Nature/Soft...

View Article


Two animations to a single gameObject

Hi, I have two animations, with the names "open" and "closed" would when entering the trigger animation to begin with the name "Open" and when you leave the trigger animation to begin with the "closed"...

View Article

Respawn fix

So I'm really new to unity and I've been making a Platformer, and I want the Player to die when he touches the Blue Jelly named "Death". I've looked around forums, videos, and tried to fix it myself...

View Article

Children objects distorting when rotating

I am making a first person controller, but when I child an object to the camera, it distorts weirdly when the parent is rotated. I have tried this with external models and primitive unity objects, but...

View Article


Class constructor returns null

Hello guys, I have problem with class constructor. After updating a code with new mechanisms and classes I cant instantiate the class instance. Here is a part of class code: public class TownInfo {...

View Article


Vector3 offset from where it should be pointing ?

So what i'm trying to do is make a field of view for my enemy using a Vector3.Angle. I have 1 vector pointing directly in front of the enemy, and the other pointing at the player, except what i'm...

View Article

I cannot understand where the Object reference is not set to an instance of...

NullReferenceException: Object reference not set to an instance of an object TouchHandler.TouchControl () (at Assets/Script/TouchHandler.cs:78) TouchHandler.Update () (at...

View Article

Was gameObject.GetChild(childsName); a thing?

In my project I am going through old code converting our networking solution from Tnet to Photon. Up until just now these lines did not throw an error and worked. login =...

View Article

error CS0201

error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement it only happens when i put this public void ExitOn() { Application.Quit; }

View Article


Help please guys thank you so much!

Hello, so I have the follow code here: using UnityEngine; using System.Collections; public class GameManager : MonoBehaviour { public int forcurrentscore; public int highscore; public int currentlevel...

View Article

Save Script and use it causes Errors

chosenBombType = GameObject.FindWithTag("Player").GetComponent().GetBombType(); hScript = GameObject.FindGameObjectWithTag("Player").GetComponent(); somethimes i get errors with this 2 lines of code....

View Article


App Crash on iPad running iOS 9.3.1 and on iPhone running iOS 9.3.1 on both...

2.2 - Apps that exhibit bugs will be rejected 2.2 Details We discovered one or more bugs in your app when reviewed on iPad running iOS 9.3.1 and on iPhone running iOS 9.3.1 on both Wi-Fi and cellular...

View Article

How do add scenes on the Countdown Timer

I need to add a scene on one of the line on my Countdown Timer . The scene for player just in case the player wins or loses : I also have an error : error CS0103: The name `GetInitialTime' does not...

View Article


when i load scene 2, score adds automatically x6 (Weird bug or something)

so.. i have this game where you get 1 point for killing an enemy if the enemy touches you it loads another scene (scene 2) but if i kill the enemy i score the point then another enemy kills me it loads...

View Article

Error in Inventory Script

Heya, So I'm trying to build an inventory system in C#, And so far its mostly working, Its just whenever I have only One object and remove it from the Inventory I get the error...

View Article

Error CS1061

Hi, i need help with my script. I have this error: Type `DoorScript' does not contain a definition for `index' and no extension method `index' of type `DoorScript' could be found (are you missing a...

View Article
Browsing all 7934 articles
Browse latest View live


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