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

Destroyed Object Stops Scipt

Hello, I have a script which is meant to turn off other GameObjects components, however when one of the objects is destroyed the scripts stops working for the other objects. Ex: object1 object2 object3...

View Article


Freeze game using timer from start, then resume play when click the button....

Hello everyone. I'm trying to make the game freeze from start using time. Show the information for player to read then player can click button "Ok" to start the game. But game still freeze after button...

View Article


Unity 4.6.6f2 (mac) crashes 8 out 10 times when trying to make a build.

I'm trying to make a build, it starts running and when it goes to scene building (mostly at scene 1 or 2) it crashes and gives this error report. Anybody knows how to fix this or where I should start...

View Article

could someone tell me where i went wrong

![alt text][1]hi there im trying to generate a floor for my level in a checkered pattern that is expandable by setting the columns and rows that are needed but im getting two errors : error CS1502: The...

View Article

Laser bolt stream is not what I want to happen.

In my game, the enemies don't shoot one laser at a time, they shoot a stream of lasers. Help? using UnityEngine; using System.Collections; public class EnemyMove : MonoBehaviour { public float...

View Article


Can't Activate a GameObject Because of a Clon Enemy

i want to activate a gameobject when my player hits an enemy. i can activate my gameobject when my player hits the original enemy. but i cant activate my gameobject if my player hits the clon enemy....

View Article

How do you change the encoding on a mobie texture?

Im trying to use movie textures in my game. They wont import correctly, i get an error that quicktime tools stopped working. On the rare occassion that it does import, it wont play in the preview panel...

View Article

Who Upgraded to Windows 10?

And what problems are yiu having with Unity? I want to know. Ive come to the conclusion both using oculus rift dk2 and importing/using movie textures is impossible

View Article


error CS0122: `CharacterMotorC.SetVelocity(UnityEngine.Vector3)' is...

I don't understand why this error has popped up. error CS0122: `CharacterMotorC.SetVelocity(UnityEngine.Vector3)' is inaccessible due to its protection level Heres my script: using UnityEngine; using...

View Article


Web Player Export Problem

Hello, I am trying to export my project as web player format, it contains code for reading Excel files, Hence it has System.Data.dll and System.EnterpriseService.dll. I am trying to export it as web...

View Article

'NullReferenceException: Object reference not set of an object' When calling...

Whenever I call the coroutine spawnDelay found in this script: public string spawnPos; public GameObject DataKeeper; public SpawnHelperScript SHS; public bool canSpawn = false; public int...

View Article

java.lang.Error running on Android

Hi guys! I'm experiencing an error when i run my game in **some** android devices (iOS, PC and others works good) . The error I got is "java.lang.Error" (on loading an scene) and crash my application....

View Article

Switch statement not working C# (answered)

My game creates two obstacles which can each be in one of three different positions(picked randomly). However in my game i never want them to be the same position to begin with. So using my knowledge...

View Article


when pressing play gameobject get deleted and the game breaks

![alt text][1] [1]: /storage/temp/52148-capture1.png GameObjects get deleted when trying to play the game; does any one have an idea why unity delete the objects ?

View Article

c# The left-hand side of an assignment must be a variable?

I have a swipe control script that I made. Everything is fine according to the console, everything but this error! "The left-hand side of an assignment must be a variable. a property or an indexer."...

View Article


Unet problem. The client always close when the connection is made with the host

So, this is the problem. I dont have a idea why this happen, and on the editor only this appears: ![alt text][1] [1]: /storage/temp/52226-erro-unity.png And this is the code that I'm using: #pragma...

View Article

[Answered] Error CS0019: Operator `==' cannot be applied

I've started to go into deeper coding for my game, and once I started, my first problem was making a object enable it self from a trigger. This is my Script using UnityEngine; using System.Collections;...

View Article


Why do I receive the message "Parse error: unexpected symbol ´int' " in the...

using UnityEngine; using System.Collections; public class GridItem : MonoBehaviour { public int x; { get; private set; } public int y; { get; private set; } public void OnItemPositionChanged (int nexX,...

View Article

Random.value is giving error and not functioning when assigned to a variable

I'm quiet a noob here so this question might seem trivial. But I am attempting to create a situation where the chance of a character dying is 50% and that of the opponent dying also 50%. The...

View Article

Importing Assets opens many non-Unity programs

I have absolutely no idea what is happening. I have a project, and I try to download and import assets. At some point during the import, many random programs/applications on my computer open. Granted,...

View Article
Browsing all 7934 articles
Browse latest View live


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