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

Getting tons of compiler errors when I try to open a project,Getting all...

I am using Unity 2018.2.10f1 (it's for a class and that's the version my professor wants us to use). I am trying to import the 2D Game Kit to go through that tutorial, as that is our first assignment....

View Article


NullReference Exception when using a static instance of class.

void updateList() { for (int i = 0; i < characterList.Count; i++) { if (GameManager.gameManager.RequestCoins(characterList[i].characterPrice)) { SkinHolder holderScr =...

View Article


Google Play prelaunch test - java.lang.SecurityException

I have uploaded an alpha test of my game to Google Play. The prelaunch test tells me that my game crashes on a Galaxy S3 running Android 4.3. Looking through the logcat I see the following exception:...

View Article

Number overflow exception

Unity does not throw an exception after adding 1 to int.MaxValue in block#1 because of an absence of Checked Statement. How to throw ***OverflowException: Arithmetic operation resulted in an...

View Article

How to prevent repeating exceptions in console for async void method?

If I attach the following MonoBehaviour to an active GameObject (e.g. Camera) and then start the application (play in Editor), I get an indefinitely repeating exception logging in the console of the...

View Article


Passing System.Exception to JNI

Hello. So i've implemented Firebase crashlytics in Unity, made a plugin and a c# wrapper for the java class and everything works fine except one thing. public static void logException(Exception ex) {...

View Article

Do I NEED to handle the MissingReferenceException?

Hi everyone, I've been using Unity for a while now and was curious if I needed to handle the MissingReferenceException any time one pops up. This is occurring while the bullets are flying towards a...

View Article

Is it possible to catch a can't add script error in the editor?

So here's the setup. I have an abstract class named Alpha that inherits from Monobehaviour. I have classes Beta, Charlie, Delta, etc, that inherit from class Alpha, but are not abstract. Upon trying to...

View Article


We get this "TypeLoadException: Could not load type UnityEngine.UI." after...

We get these weird two TypeLoadException error after every compiling of our code. One for UnityEngine.UI.Scrollbar (first one) and one for UntiyEngine.UI.Slider (second one). Our code worked perfectly...

View Article


il2cpp+mysql error

Hello. I get an exception when building il2cpp + MySql.Data . How to solve it? Error: NotSupportedException: System.Configuration.ConfigurationManager::GetSection at...

View Article

UnauthorizedAccessException (Could not find part of the path) when saving a...

I'm trying to save a file with some simple user data in it, following [this][1] tutorial. ---------- This is my code: ![alt text][2] ---------- And this is the error I get: ![link text][3] ---------- I...

View Article

TextMechPro error cs0433

Hey guys, I'm total newbee in Unity. I have just started new project that contains Vuforia SDK. After making some changes I decided to install GitHub extension from Asset Store to make some backup....

View Article

Can you make exceptions in OnTriggerEnter

I am making a 3D spaceshooter that can change between top-down and sidescrolling views. The game is finished except one part. I have 2 enemies, one red and one purple and I want to make it so that when...

View Article


Resource Not found exception while opening Unity Project in Android studio

Since Google warned us to provide support to 64-bit architecture, I am migrating my existing Unity Project from version Unity 5.6.6f to Unity 2018.4.1f Upon running my project app crashes with log,...

View Article

Image may be NSFW.
Clik here to view.

NullReferenceException 999+... Still all working fine and especialy in that...

All is working fine on that lines , Its calling error on IF lines on all of 4 scripts. Can't get it to disappear from console. As you can see it's all working fine, activating and deactivating child...

View Article


NotImplementedException: OleDb is not implemented

Hello I m trying to open a DBF file with OleDbConnection , exported from QGis in unity using the code bellow : string filepath ="C:\\Users\\thano\\Documents\\Interreg\\Assets\\GIS_Data"; void start {...

View Article

Avatar SDK EntryPointNotFoundException: initAvatarSdk

Hi, there. I try to use Avatar SDK on Mac mini 2012. I have next log when I launch test scene called 01_getting_started_sample_offline. ![alt text][1] [1]:...

View Article


Unable to find default assembly after adding a new assembly definition.

I need to create a new Assembly Definition for my scripts so that I can use them for unit testing. After adding a new definition file (Create -> Assembly Definition) Scripts.asmdef in my scripts...

View Article

Could not load file or assembly 'Facebook.Unity.Gameroom' Exception occurs on...

We are getting the following exception while running our game on Facebook Gameroom and calling FB.Init() function. We are using Unity 2019.1.8f1 and IL2CPP build. If we use mono build this works fine...

View Article

I keep getting the Error InvalidCastExceptio and I cant seem to fix it!

I keep getting the Error InvalidCastException: Specified cast is not valid. (wrapper castclass) System.Object.__castclass_with_cache(object,intptr,intptr) UnityEngine.Object.Instantiate[T] (T original,...

View Article
Browsing all 470 articles
Browse latest View live


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