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

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 Article


Unity 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 Article


IronPython 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 Article

Error 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 Article

NSInternalInconsistencyException 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 Article


Stop 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 Article

when build to webGL

show this message "Assets/Build/UnityLoader.js(1,127): BCE0044: expecting :, found '?'." all for code

View Article

How 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 Article


KeyNotFoundException 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 Article


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 Article

Cannot 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 Article

Directory 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 Article

Unity 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 Article


X.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 Article

transform.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 Article


NullReferenceException 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 Article

TypeLoadException 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 Article


Is 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 Article

DirectoryNotFoundException 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 Article

How 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
Browsing all 470 articles
Browse latest View live


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