Quantcast
Channel: Questions in topic: "exception"
Browsing index pages (470 articles)

Null reference error onSceneLoaded

> *"MissingReferenceException: The object of type 'Tilemap' has been> destroyed but you are still trying to> access it. Your script should either> check if it is null or you should not>...

View Article


Are there any cases in that unity ignores the exception and runs the next code?

Hi, there. I have a question about unity error/exception that sometimes ignores. void Awake() { /* * do something... */ // Set title text titleObject.SetTitle("..."); } My code is just like this....

View Article


Is it new in Unity? Collider exception . . .

Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported since Unity 5. If you want to use a non-convex mesh either make the Rigidbody kinematic or remove the Rigidbody component....

View Article

Are there any cases in that unity ignores the exception and runs the next code?

Hi, there. I have a question about unity error/exception that sometimes ignores. void Awake() { /* * do something... */ // Set title text titleObject.SetTitle("..."); } My code is just like this....

View Article

Are there any cases in that unity ignores the exception and runs the next code?

Hi, there. I have a question about unity error/exception that sometimes ignores. void Awake() { /* * do something... */ // Set title text titleObject.SetTitle("..."); } My code is just like this....

View Article


Can't build App Bundle

Hi all, I am trying to build an App Bundle version of my game. I've been doing this for over 2 months now without any problems but suddenly I get this error no matter what I do: FileNotFoundException:...

View Article

I can not to build the game on android. Exception in thread "main"...

When I try to build my android game on unity I have this problem: When I test the game via unity remote problem has not exist. Android SDK and Android platform already has been installed on my pc via...

View Article

Many UnauthorizedAccessException after setting up Perforce

Hi! I just set up Perforce with my project, and all seems to work fine. However when now working in Unity, there are 'UnauthorizedAccessException' occurring. For example when opening a script file....

View Article


Unhandled Exception: Grpc.Core.RpcException: Status(StatusCode="Cancelled",...

I'm getting this compiler error when I open my project (upgraded it from the previous version [2022.1.23f1] to the latest version [2022.2.0f1]). what does this mean, and how could I fix it? Unhandled...

View Article


Unknown error regarding UnityEngine.AddressableAssets

Hello everyone! First things first, I have to say that I'm kind of a beginner with Unity so the words that I'll use may be wrong or not refer to what I want to explain (Additionnally, I'm not a native...

View Article

Having Trouble with NullRefence Excpetion OnParticleCollision

What I am trying to achine is OnParticle collision retrieve a public variable stored on the script called Tower to then subtract that from the current units health which sounds simple in theory just...

View Article

Random Unity authentication failure at mobile game startup

I recently released a new version of my mobile game on IOS and Android. The game app includes code that detects and reports C# exceptions via email. Since releasing the app, I've received five reports...

View Article

"Assertion failed: Invalid worldAABB. Object is too large or too far away...

Hi, in my project sometimes run into the worldAABB error. Unfortunately this error is **not beeing logged** from my DebugLogger (logs Exceptions in txt-file). For caching the exceptions I listen to:...

View Article


Can't Read CSV from Download Folder in Android Device (C# Unity)

**My C# code for read CSV from Download folder in Android device** public class ReadCSVInDownloadFolder : MonoBehaviour { public TMP_Text Text; private string path; private void Awake() { try { path =...

View Article

im getting a serialization exception eror in my load method

using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; using System.IO; public static class SaveSystem { public static void SaveData(Calculator calculator) { BinaryFormatter formatter...

View Article


Instantiate spawns an empty game object called "New Game Object" as well as a...

I've got an issue where a game object is spawned that doesn't work as well as an empty game object called "New Game Object". I also have this error: UnityException: Transform child out of bounds...

View Article

Does anyone understand why I keep getting "ArgumentOutOfRangeException" from...

## **My Goal** ## My goal is to get a random platform to spawn, but if the max uses is reached then delete it from my list to prevent spawning my platform more times than others. If there is only 1...

View Article


How to solve "ArgumentException: Name has invalid chars" when connect to...

Hi Everybody, I've been working on connecting my database at MySQL inside Unity. Here are my findings so far and the error that was "the straw to break the camel back"....

View Article

Native Collection not disposed, memory leak and Jobs issue ?

[EDIT] the logs, saved as .txt are download as a .txt.jpeg ...somehow ? You need to correct the file name to open it. Hi, First of all, I wish you all the best for this new year. Kindness, money, great...

View Article

How to order execution of code chunks?

I have the following code (*do not pay attention that the code is repetitive*). There are 3 blocks of code, each one makes a screenshot of a scene (with the same name "screen.jpg") from a different...

View Article
Browsing index pages (470 articles)


Latest Images