Quantcast
Channel: Questions in topic: "exception"
Browsing all 470 articles
Browse latest View live

C# try catch block doesn't work for iOS?

Trying to build an app to iOS, & to my surprise it seems code in a standard C# try-catch block hangs the build. Does try-catch work in an iOS build? I hope I can post code here properly (first...

View Article


Crash when displaying more than one Unity SWF

I'm using Unity Pro 4.1.0f4, Adobe Flex SDK 4.6.0.23201 with AIR 3.4 and I've run into a showstopper bug. Every time I attempt to display two (or more) Unity SWFs in an AIR application (*i.e.* I load...

View Article


I'm getting StackOverFlowException

Hi. I'm trying to make at first person shooter, but I'm getting trouble. I get a stackoverflowexception and for now it's pointing at main camera. I'll include links to my files. (it's only two)...

View Article

Detecting exceptions outside of the main Unity thread

I am using Red Dwarf Server in my Unity game and noticed that exceptions that were occuring in the messaging threads were not being printed to the Unity console. I confirmed the issue in a barebones...

View Article

C# OnTriggerEnter NullReferenceException

Hello, I'm using the ZDK from Zigfu for Game Project on my study. I took the standard avatar and attached two colliders (sphere colliders with rigid body) to the hands. One for the left hand, and one...

View Article


NullReferenceException for OverlapSphere

Im using overlapSphere to get targets for AI, but if there is no targets - i got exception (NullReferenceException), i know, thats ok, no target - no return. But that is so annoying to see tons of this...

View Article

NullReferenceException Object reference error

I am trying to get this script to create a fireball. This is based on the tornadotwins tutorials, however their tutorials are in javascript and I am trying to write my version of the program in C#....

View Article

I keep getting the error "NullReferenceException: Object reference not set to...

For some reason I keep getting this error. Also, the same code I am about to present to you not only pertains to the question Im asking but also to another problem Im having with it. This code is meant...

View Article


Unhandled exception caused by AssetBundle downloading in Unity 4.1.2

When my built project .exe terminated, there is an unhandled exception pops up. (WinXP SP3 32bit) After a wee bit of investigation, the exception is an "Access Violation", and the culprit sits...

View Article


Android project build is failing

I'm trying to make an android project after it has become free, but I keep getting this error whenever try and build it, any help? Error building Player: Exception: android (invokation failed) ERROR:...

View Article

DLLNotFoundException:libsqlite3.0.dylib in game build for linux

Hello there! Lately we upgrade unity3d to ver4.1.2 and build game for linux. When running gamebuild in linux, we get this error: **DLLNotFoundException:libsqlite3.0.dylib**. We have a libsqlite.so...

View Article

Webcam texture exception handling

Hi Guys, I'm doing project in which I use webcam to take user's photo. In this if webcam is used by other application or not found it throws exception and some weird things happen. I want to check if...

View Article

Null reference exception error in Unity, Please Help!

I have created a script earlier today and in mono develop it showed no errors but when I tested it it gave me the error: NullReferenceException: Object reference not set to an instance of an object...

View Article


Need help with this error: Error building Player: Exception: android...

I click run & build under Android. It takes a minute, then it ask me looking for SDK. So, I find the folder, then it gives me this error. I need help fixing it. I've looked around and none of the...

View Article

Uncaught exception doesn't kill the application

For some reason, throwing an uncaught exception doesn't abort the application (run in editor), i.e. all of the following code gets executed: function Awake() { throw new System.Exception("Die,...

View Article


Sqlite databases getting locked by Unity.

Hi guys, Whenever I try to input values into my sqlite database from unity, it always throws an exception: SqliteException: The database file is locked I still can read from it, but whenever I try to...

View Article

ArgumentException: get_fog can only be called from the main thread(C#)

I don't know why I get this problem. All I wanted to do was activate fog with a specific fog color then suddenly its values jump to insane Color ranges. Target fog color...

View Article


4.2 iOS Exceptions Not Printed

Prior to Unity 4.2, when a game was run on device exceptions were printed to the device console. When the game crashed due to an error in your code, the exception would be printed along with the class...

View Article

"Array out of range" when cycling weapons.

I'm using the mousewheel to cycle through an array of 3 (so far) weapons. on mousewheel up it cycles up through the list, and on mousewheel down it counts down. This works fine, and prints the weapon...

View Article

C# Null Object Reference - Driving me mad!

Hi there, I'm getting the above error, the object reference is not set to an instance of an object, and I seriously cannot find the reason for it. Here, I'll break it down. I have my main character...

View Article
Browsing all 470 articles
Browse latest View live


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