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

GoogleVR Cardboard reticle visible twice in VR mode

Hi, I don't this issue. but its new to me. After dropping reticle in MainCamera. In game mode on mobile, i m seeing reticle twice. reticles are not overlapping correctly. But it doesn't happens with...

View Article


Strange Repetitive Error

http://imgur.com/a/5pjWZ This error shows up during the loading of my project. I can click any one of the buttons and every time, the error message just goes away and it keeps on loading. This same...

View Article


unity does not run, requirements?

hello, when I want to run the program stays with a gray screen, then I will upload the data from my pc, it may be that do not meet the minimum requirements, ------------------ System Information...

View Article

Activating/Disabling gameobjects on another script?

Hello! I am making a 2D game where you should be able to place turrets to take down your enemies, but i have a problem. The player will click a button, which should activate the "nodes" that shows the...

View Article

NullReferenceException ?? How to fix this ?

Hello, can somebody please help ? Here is the error : NullReferenceException: Object reference not set to an instance of an object public void Save() { Objects = 0; objects =...

View Article


NullReferenceException. No idea why it does that. Help.

So, ive been trying to fix this like 3 hours straight, and nothing works.. Here is the save script : public void Save() { Objects = 0; objects = GameObject.FindGameObjectsWithTag("WeedPlant"); if...

View Article

UCE0001: ';' expected. Insert a semicolon at the end.

import UnityEngine.UI; static var CurrentAmmo : int; var InternalAmmo : int; var AmmoDisplay : GameObject; static var LoadedAmmo int; var InternalLoaded : int; var LoadedDisplay : GameObject; function...

View Article

worldPos in shader giving errors when game is paused

I am working on a voxel game, and I want it so that the player sees further than the loaded voxels, so I made a big circle in blender that has a hole in the middle, where the loaded terrain is. The...

View Article


Unity system errors

![alt text][1] **When i save a scene i get this errors .. Someone knows how to fix it ?** Image: [1]: /storage/temp/81572-aaa.png

View Article


Loading scene problems

I am creating a door that, upon touched, loads a new scene, but I am having problems with the script. What is wrong? It doesn't know what GameObject is function Update () { function (OnTriggerEnter...

View Article

Unfortunately (app) has stopped.

Hi, I know that a lot of people asked this already but I couldn't find a solution that worked for me. When I open my app on my phone I see the app screen for 0.5 sec and then I get the error:...

View Article

Unity2D: Creating a Cross-Platform Multi-Player Game in Unity Error!

Hi, i'm following this [tutorial][1] on raywenderlich to do with multiplayer, since Unity updated, they have added a new method for the participant lefting the event. So I am getting this error on...

View Article

CS0103 and CS0246 with "public Text text;"

So when I define anything in public, for reference (LevelManager, Text) it makes it red and gives me error CS0246 and CS0103 as errors. Also, when I connect it to my object, the public doesn't give me...

View Article


InvalidProgramException: Invalid IL code when calling a function

So I'm trying to make a relatively simple bullet-firing function. Just a raycast and some code to make a tracer line. But when i call the function to fire the bullet, as simple as it is, i get this...

View Article

Error CS1519 for public float, but public int works (I'm a beginner)

For some reason, public int, public Transform and public LayerMask work, but when I type public float, I get Error CS1519, I am new to this though, so there may be an easy way around this. Here is the...

View Article


All compiler errors have to be fixed, but I copy pasted the code from the...

When I look in the errors in the console, it keeps saying "rc.right == m_GfxWindow->GetWidth() && rc.bottom == m_GfxWindow->GetHeight()" and "SUCCEEDED(hr)". I double click it, but it...

View Article

Bool not retaining value after being set in an invoke function.

I'm having a strange error in which a boolean is not retaining it's value after I set it. The bool I'm having the issue with here is timePaused, everything else is mostly irrelevant. public float...

View Article


One error i have to fix

Assets/scripts/Gun script.cs(92,19): error CS0246: The type or namespace name `ProjectileInfo' could not be found. Are you missing a using directive or an assembly reference? This is the code that the...

View Article

Capture Screenshot not working in WebGL

I tried making a script that uses the main camera to take a screenshot of the object. It works well in unity without any errors but I tried to build it as a WebGL. Sadly, it shows an error that tells...

View Article

a local variable `texture’ cannot be declared in this scope because it will...

Hi Hello i get one error on the script EditorFacebookMockDialog the error is a local variable `texture’ cannot be declared in this scope because it will give a different mean to texture How Can I Fix...

View Article
Browsing all 7934 articles
Browse latest View live


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