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

StackOverflowException on UI Button message

Hello I'm trying to get my button working in NGUI unity, so that when someone clicks on it, it will quit the application, i've got collider on it and my own script with OnClick function and UI button...

View Article


InvalidProgramException: Invalid IL code with Mono.Cairo on MacOS

Hi everyone, I have "solved" a previous [problem with a DllFoundException][1] on MacOS, but I now have a new problem. I want to use Mono.Cairo with Unity on MacOs (and Windows and Android). My...

View Article


Try/Catch block stops exception from happening

I have a small project that has an 2d array of sprites and a script that adds stairs at certain places. It all works fine in Game View but when I run the .exe when I stand in certain places the stairs...

View Article

C# NullRefException accessing static class, array value

Hey Guys, This is driving me insane. I decided on using a class array to access upgrade stats instead of a list. But something so seemingly simple is throwing an error and for the life of me I can't...

View Article

error uploading file to parse with unity 5.1.1f1

I am using Parse for a game that I'm developing. Everything is ok until I try to uplad a file, no matters his extension I always get this Error : "get_version can only be called from main thread"!...

View Article


Parse Exception System.AggregateException

Hi I'm new with parse and I'm getting troubles to integrate the API in my project principal to run any query. Here is my code: IEnumerator UpdatePosition() { var query = ParseObject.GetQuery...

View Article

A null value was found where an object instance was required.

I'm trying to add instantiated prefab to an array from another instantiated prefab A world manager instantiates chunks and tiles within those chunks. Both worldmanager, chunks and tiles are GameObjects...

View Article

FileNotFoundException when using System.Xml

When I'm simply using the System.Xml, Unity trows this exception: FileNotFoundException: Could not load file or assembly 'System.Xml.Serialization, Version=2.0.5.0, Culture=neutral,...

View Article


[SOLVED] Key Not Found Exception - XCODE

Hello, I am having a rather frustrating problem, and I can't seem to find an answer to this anywhere, as it may be a case specific to me. The problem is that whenever I try to append a project, it will...

View Article


DllNotFoundException use SerialPort in Android

Hi everyone! when i using serialPort.open(),it throw DllNotFoundException.so,i add system.dll and mscorlib.dll in Assets but it no use.always throw DllNotFoundException.so,what i need to do? thanks.

View Article

Error processing web request: Status code 500

Hi, I'm trying to call a simple "Hello World" method in a .NET web service from a script in my Unity project. On running the Unity application in the editor, it makes it to the point of calling...

View Article

[Space Shooter Tutorial] NullReferenceException: Object reference not set to...

Hey Guys, i'm completely new to unity and started a few days ago with the "Roll a Ball" tutorial. Now I'm stuck with the Space Shooter tutorial, I hope you can help. My problem is the following error:...

View Article

an unhandled win32 exception occurred unity.exe

When I start Unity, I get : ''Unity editor has stopped working''. A window appears and when I choose ''debug'' a new window appears with the message: ''an unhandled win32 exception occurred unity.exe''...

View Article


IndexOutOfRangeException for initial spawn of prefabs from an array

I've been following along with a tutorial on Infinite Runners found here: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/infinite-runner I'm doing a slightly modified...

View Article

Which kind of error can cause a silent crash?

Hello everybody! I'm using unity for a couple of years now, and my problem is that every time i got an error in my code usually, i have found some useful informations in the logs, complex or simple,...

View Article


InvalidCastException when instancing generic type

The following code gives me an "InvalidCastException", stating that I can't cast from source to destination type in the foreach loop. I've tried passing multiple different generic collections through...

View Article

BUG THE UI: INVALID AABB INAABB

Each frame of the console says a lot of mistakes of this kind: Invalid AABB inAABB UnityEngine.Canvas:SendWillRenderCanvases() ![alt text][1] [1]: /storage/temp/56008-4217fecdd4.png

View Article


GameJam Menu Template Error

Hi, this question involves the GameJam Template that was done in a live Training: https://www.youtube.com/watch?v=j9CqczkeYJY I got all the scripts and objects set in my scene, but every time I hit the...

View Article

iOS - XML Serialization - JIT exception

Hi, I'm trying to setup a project using XML serialization. ALl compiles fine but on the device, I get this error : CallCallback - Message: Attempting to JIT compile method...

View Article

How to check if Android app installed on the phone

I want to check if the Android app is installed on the phone, if not - open the Google Play. I tried this code: `AndroidJavaClass up = new AndroidJavaClass ("com.unity3d.player.UnityPlayer");...

View Article
Browsing all 470 articles
Browse latest View live


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