Try Catch not working with VideoPlayer
I am trying to play a video using Unity's VideoPlayer which I have attached to the camera. I want the user to be able to enter the file path of a local video file and the VideoPlayer should then play...
View ArticleCannot set parent for instantiated GameObject. (Exception: Can't destroy...
I have player gameobject that is instantiated in the start of the game. I want to make pickable items to instantiate into the player gameobject's special zones (Marks), such as BowMark or QuiverMark....
View ArticleDirectory Not Found Exception While Generating APK
DirectoryNotFoundException: Could not find a part of the path "Assets\Plugins\Android\appcompat-v7-23.1.1\res\color\abc_background_cache_hint_selector_material_dark.xml" or...
View ArticleUnity 2017.3 Android IL2CPP ArgumentNullException
Hello, I'm using too many external libraries in my project to check what causes this error and I can't figure out where this error actually comes from. Please help. :) It works fine with Mono, but with...
View ArticleX.509 certificate exception "~isn't signed" but it really is signed
Hi, everyone! Could you please check this question? [https://stackoverflow.com/questions/48419314/x-509-certificates-exception-aws-iot][1] I'm trying to connect to AWS IoT MQTT broker with X.509...
View Articletransform.find exception if child does not exist
Hi there, I need to find some GameObject children by their name. This work perfectly fine if the child I am searching exists. But if it does not exist, I get this exception:> NullReferenceException:...
View ArticleNullReferenceException with serialized array
Hello! I have a script with arrays of serialized objects like this: [Serializable] public class GenerationZones {public GeneratedObjecct [] GeneratedObjets = new GeneratedObjecct[100]; public int...
View ArticleTypeLoadException Error with Unity IAP,TypeLoadException Error when...
I am trying to implement Unity IAP into my mobile game. But, as soon as I finished my Purchaser script, I'm getting a TypeLoadException Error: TypeLoadException: Could not load type...
View ArticleIs there any way to handle Exception without outputting as log.
Hi, I'd like to send message to server when exception occurred in release build. My code is below. class RuntimeInitialize { [RuntimeInitializeOnLoadMethod] static void OnRuntimeMethod() { #if DEBUG...
View ArticleIssue subscribing to event in managed DLL
Trying to subscribe to an event in a managed DLL digitalSigs.Change += handle_Change; Receive following error, and I don't understand what is meant by "non imported interfaces": NotSupportedException:...
View ArticleNull Reference Exception
I want to write an Settings menu and I already created the UI but when I click on a button I get a null reference exception. NullReferenceException: Object reference not set to an instance of an object...
View Article,NullReferenceException Object reference not set to an instance of an object...
Hey there it's me Richard Haley once again just wanting to know how do I fix this problem it's NullReferenceException problem that say: NullReferenceException Object reference not set to an instance of...
View ArticleUnity test tools Excepted Exception error
I downloaded Unity Test Tools so that I could use NavMeshComponents and whenever I try to run or build my game, I get an error stating that "Are you missing an assembly reference?" because it can't...
View ArticleiOS build error after update to 2017.1.0f3
After update to Unity 2017.1.0f3 [occur in beta versions too], whenever I try to build an iOS project I get this errors: ___ > Failed running>...
View ArticleNullReferenceException: Object reference not set to an instance of an object...
Here is my script: using UnityEngine; using System.Collections; public class PlayerController : MonoBehaviour { public float speed; private Rigidbody rb; void start () { rb = GetComponent(); } void...
View ArticleIn Offline Mode, Firebase show error log about WebSocket: ws_0 - could not...
I'm using Mac OS. I run my project Unity on Editor with turn off internet. When I call funtion: mDatabaseRef.UpdateChildrenAsync(childUpdates); Firebase show more error about WebSocket exception, image...
View ArticleUnauthorizedAccessException: Access to path is denied error
Hello, everyone! I created a plugin for android that allows a user to pick a file from either external or internal storage of the phone. That part works fine. I'm running on Android 6.0.1. I've also...
View ArticleNo line numbers in stack trace
I've been using Unity for a while, and usually when an Exception is thrown and I click it in the console, it gives me line numbers for every part of the stack trace. Here is what is looks like now...
View ArticlePackage directory not found for DataContractSerialization
Anyone know what might be causing this error? I still seem to be able to create and run projects, but I worry I might be missing some functionality somewhere... System.Exception: Package directory not...
View ArticleNpgsql dll working in Standalone Build but not in Editor
Hello. I'm currently using an Npgsql.dll which I have placed in my Plugins folder. I'm using it in two different projects. Both my projects work fine when built. The dll does its job and allows me to...
View Article