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 ArticleAre 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 ArticleIs 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 ArticleAre 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 ArticleAre 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 ArticleCan'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 ArticleI 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 ArticleMany 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 ArticleUnhandled 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 ArticleUnknown 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 ArticleHaving 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 ArticleRandom 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 ArticleCan'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 Articleim 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 ArticleInstantiate 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 ArticleDoes 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 ArticleHow 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 ArticleNative 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 ArticleHow 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