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

BCE0049 error with networking script

Hi, i am having some issues with my network script, it is supposed to let players host their own games or join existing ones. My problem is that when i compile the script i get error BCE0049 on line...

View Article


Sorry, but i don“t have a clue about this error

Hey guys, This should be a spawnsystem, working with the photonplugin, but there is a error i don“t know how to deal with. please help :)![alt text][1] [1]: /storage/temp/23689-zwischenablage02_1.jpg

View Article


GUI.Button Not Working Correctly Strange

hey ive been looking for a while on how to fix this but i cant find it anywhere void OnGUI () { if (isPlayer && photonView.isMine && !DeadWaitingForRespawn) GUI.Box (new Rect...

View Article

Error for playerPhysics

Hi, Im only new to unity so I cant find out what is wrong with this code. Thanks if anyone can help me it would be appreciated thanks. The error is: Assets/Scripts/PlayerController.cs(27,29): error...

View Article

Having error CS0426 while trying to access another scritpt component in c#

I made a javascript game for school and I decided to translate it to c#. I am struggling for some reason with this basic concept. In my game(who happens to be a shooting/survival game), I need to shoot...

View Article


Failed to recompile android resource files. See the Console for details

Since I have installed this asset: https://www.assetstore.unity3d.com/#/content/10825 I can no longer build my project for android. I have no idea what is causing this problem and how I can fix this....

View Article

IndexOutOfRangeExeption: Array index is out of range

I Tried to make a waypoint system with the following code. I get the error above, but the strange this is that everything works fine... What could it be? (Error at line 28). using UnityEngine; using...

View Article

Failed To Update Unity Web Player

Hello, Red Crucible 2 Game I Have Time Makes, And A Lot That Gave Error: ![alt text][1] How To Fix This Error? Have I lowered manually, installed about 10 times yet the error continues. Thanks For the...

View Article


Scoring System ArgumentOutOfRangeException Error

Ive been trying to do this scoring system for weeks but i still seems to get stuck and i have no idea why :( it comes up with an error of "ArgumentOutOfRangeException: Argument is out of range....

View Article


How to get my error from .exe

Hello developers ! I need help ! When I run my project from Unity Editor all work normal, but when I build .exe some time game stoped some time not. I think reasone is error! How to debug and how to...

View Article

Error[Component CircleCollider2D could not be loaded when loading game object]

i am having this error when i instanttiate a prefab with (rigidbody2d,varius circlecollider2d), the error doesnt affect the functionality of the object, but i dont know why it showing up. i wanna know...

View Article

can your Random.Range parameters match with function perameter (javascript)

So I have working code that picks a random number without having three duplicates. Here is an example below var previousPreviousNumber: int = 0; var previousNumber: int = 0; var currentNumber: int = 0;...

View Article

Raycast Having Pointless Errors

private var enter : boolean; var myAudioClip: AudioClip[]; var mySkin : GUISkin; function Update () { if(Input.GetMouseButtonDown(0) && enter) { Ray =...

View Article


"Else" not working

var bobbingSpeed = 0.2; var bobbingAmount = 0.01; var midpoint = 0.4; function Update () { waveslice = 0.0; horizontal = Input.GetAxis("Horizontal"); vertical = Input.GetAxis("Vertical"); if...

View Article

error CS0236: A field initializer cannot reference the nonstatic field,...

I'm trying to make an Array of Booleans. As you can see below. But I'm getting an Error, not sure why I got it. It says the last line of my code below is the source of the error public bool F1X1 =...

View Article


Object Reference Error On Play Audio

I'm trying to make an audio file play but I keep getting this error and I don't know why: error CS0120: An object reference is required to access non-static member `UnityEngine.Component.audio' Thing...

View Article

"The associated script cannot be loaded" on every Script in every GameObject...

This is not really a question, this is an answer for everyone that may have this problem. (I solved this a minute ago) It all happened when I was synchronizing my project on a remote server, and opened...

View Article


" ';' expected. Insert a semicolon at the end." Error Help

Hi. I am making an iOS game, and for some reason, Unity3d is saying I need a semicolon when there is actually one there. Here is the code: //Script to revert winning player back to main menu var...

View Article

An instance of type 'UnityEngine.Animator' is required to access non static...

I'm working on a FPS. I'm new in Unity so I don't know much about scripting. I want to make a script that makes the player able to enter aiming mode. This is the script: @script...

View Article

Tapping iAd via AdMob is triggering RANDOM clicks on sprites in my scene.

Hi everyone. I'm experiencing a very strange error that I can't seem to figure out. I have a 2D game with sprites on screen, with 2d Box colliders on them, and simple code like this on each sprite: On...

View Article
Browsing all 7934 articles
Browse latest View live


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