Unity2D- Screen view out of frustum?
Hey guys, just recently noticed that whenever i play my 2D platformer unity chucks a error at me saying that the screen view is out of frustum. I know what this about, my camera is 5 units back along...
View ArticleObject reference not set to an instance of an object
I get this error whenever I press 5: NullReferenceException: Object reference not set to an instance of an object WarriorSpin.Update () (at Assets/Scripts/SpellsAndAbilities/Warrior/WarriorSpin.cs:30)...
View ArticleEmissive material not working for me?
I have tried to make an easy emissive material, but the result is like in the image: the cube doesn't emit any light... Could anyone help me? Please :( ![alt text][1] [1]: /storage/temp/57368-p.png
View ArticleHow to fix CharacterElement.cs error cs0619
Hello everyone i have unity 5.2.2f1. When i add to my project a first person controller i get these errors ![alt text][1] When i open the scripts all of them navigate me to the same problem(on...
View ArticleRaycasting in script suddenly stopped working
Hello again my friends! So I had my code working for like 1 hour ago. And now when I start unity again my raycasting script doesn't detect my enemies anymore. And I have no idea on what to do because...
View ArticleGC error whit canvas and LoadLevel
Here is scene what i was doing.. I just add Canvas and scroll view, nothing else :D ![alt text][1] [1]: /storage/temp/57307-error.png I have only one small script inside Main Camera Script look like...
View ArticleSetting EventTrigger in Unity with JavaScript
I'm currently trying to add onClick methods to a button created at runtime. I have tried searching but can only find c# examples, could anyone help me or direct me as to how I would go about this using...
View ArticleWhole computer tanks while starting Unity games.
When I start up any unity game that I've tried, my entire computer drops frame rate, including my windows hardware mouse cursor to about 15-30FPS for about 30 seconds or so til the unity launcher pops...
View ArticleAn error occurred while trying to create a Scene file into AssetBundle
An error occurred while trying to create a Scene file into AssetBundle I want to make a Scene File bundled assets. Step 1. "scenes/testscene.unity" Set Asset Labels Step 2....
View ArticleHow to ignore Dtd validation in XML
I'am making a Epub reader in unity Epub format has a bunch of DTD formats and i want to ignore them i use this line of code: foreach (string itemPath in spine) { XmlReaderSettings settings = new...
View ArticleOkay so I've built my game to an Alpha state and when I try to build it I get...
I know I've asked a lot of questions here lately but I get this error when I try to build my game. Assets/Scripts/CoinPickup.js(11,13): BCE0005: Unknown identifier: 'UnityEditor'. My guess would be...
View ArticleUnexpected symbol Error? I don t see It
Hi to all, I don't understand why in this script I get the error: Unexpected symbol (', expecting )', ,', ;', [', or ='. The console says that the error is inside the IEnumerator ChangeLight(), but for...
View ArticleSerialization depth limit exceeded at 'MaterialNode' error
Hi everyone. When i downloaded some gameObject Unity write me this error message, **Serialization depth limit exceeded at 'MaterialNode'. There may be an object composition cycle in one or more of your...
View ArticleAnimator not initialized?!
I was working on a FPS game and I tried to make a aim down sights script but it won't work and a bubble says that my animator isn't initialized I can't fix it. Can someone help? pragma strict function...
View ArticleDoes Mono evaluate equality of objects differently then MS .NET
Hello. I have a generic container that has a past and present value stored as objects. The container currently has bool types. Past and present are both true. object a = past; object b = present bool...
View ArticleHelp with Quaternions and Vector3s
**Quaternion newRotation = Quaternion.LookRotation(playerToMouse); playerRigidbody.MovePosition (newRotation);** With this code, I'm getting the error "Argument 1: cannot convert from...
View ArticleMultiplying Vector2 value from another script?
So I am attempting to multiple a single variable from a Vector2 from another script than the one that calls the Vector2. Now I know how I would go about multiplying the entire vector, however I am...
View ArticleMultiplying Vector2 from another script.
Multiplying Vector2 value from another script? So I am attempting to multiple a single variable from a Vector2 from another script than the one that calls the Vector2. Now I know how I would go about...
View Article.Set Active () Object Reference Not Set to an Instance of an Object
So I'm getting an error on line 19 of this script and most of the buttons are not working and I'm not sure why. As I was adding to my UI (I was working on a settings tab) I somehow managed to break...
View ArticleWrong after Update?
Ok, after I updated, my code wont work :/ if anyone can help, please do so :) Getting Error Message on && code: using UnityEngine; using System.Collections; public class PlayerShooting :...
View Article