How to properly catch Unity Assertion failures?
I have a custom mesh generation function. Depending on the data passed to this function, it might generate an Assertion Failure, which is displayed in the unity console:> Assertion failed:...
View ArticleUnity 2017.1 stopped throwing exceptions
Yesterday I've updated my project to Unity 2017.1 and switched to .net 4.6. Since then Unity has stopped throwing erorrs when they occur which as you might guess is really frustrating. This happens...
View ArticleIronPython will fail on Unity 2017.2.0f3
Hello Everyone. I am running IronPython on Unity. Although it was working on version 2017.1.2f1 or earlier, an error occurs on version 2017.2.0f3. This is Python script. import clr...
View ArticleError in child particle systems (2017 2.0b11)
Hi! When I start the game I get a lot of errors from ParticleSystem. But when I turn off ParticleSystem, there are no mistakes![alt text][1] [1]: /storage/temp/104468-набросок.png
View ArticleNSInternalInconsistencyException in iOS simulator when building Metal only
Received an ***NSInternalInconsistencyException*** in the iOS Simulator (Xcode v9.1) with Unity 2017.2 using a MacBook Pro (Retina, 15-inch, Late 2013) running High Sierra (10.13.1). The build is set...
View ArticleStop Unity from freezing on NullReferenceExceptions ?
Hello, I am currently on a advanced state from a software I'm making with Unity. However, because of the complicated hierarchy on my assets, I'm often forced to trigger a NullReferenceException from...
View Articlewhen build to webGL
show this message "Assets/Build/UnityLoader.js(1,127): BCE0044: expecting :, found '?'." all for code
View ArticleHow can you easily distinguish between normal messages and error messages in c#?
I just started using android’s LogCat for debugging my Unity app for android. As far as i’ve understood, all Unity-related messages in LogCat can be sorted out by adding a filter with [Log Tag =...
View ArticleKeyNotFoundException in animator
Hello everyone. I am trying to animate a sprite while it moves towards the player in Unity 2017.1.1f1.. After editting the sprites, creating the animations and coding I tested the game and it worked...
View ArticleTry 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 ArticleDirectoryNotFoundException with full existing path... ? I need this AFAP
So, I'm getting this HUGE error, and I don't really know what to do about it... ---------- DirectoryNotFoundException: Could not find a part of the path "C:\Users\multi\Desktop\Project...
View ArticleHow do you make IOS storyboard launch screens work?
I'm just cross-posting here in hopes to find a Unity employee with some answers. This is a new feature but doesn't seem to be documented. Adding a storyboard causes an exception in Unity 2017.3.1p3...
View Article