How to avoid error message when using DestroyImmediate in Editor
I have created a Singleton pattern for ScriptableObjects. Whenever I have a scriptableObject that I only want 1 instance of I let it inherit from my SingletonSO class. See here: public class...
View ArticleProblem with il2cpp and unityplayer.dll
So in my brand new pc, i've installed among us (A video game using Unity). Then later on deleted it. (There wasn't a setup or uninstaller). The next time I boot up my pc, this error appears "The code...
View ArticleMissingReferenceException, please help :(
Okay so i spend hours trying to fix this and i still have no clue why is this error ocuring. I have button that when clicked plays ad and mute audio listener and then after ad is finished it...
View ArticleBug or Error? Asset database transaction committed twice!
At first it started with these four errors: Assertion failed on expression: 'm_ErrorCode == MDB_MAP_RESIZED || !HasAbortingErrors()' Artifact meta info not present for hash...
View Article3d game kit error in unity 2019.4.11f1 lts
I am using unity 2019.4.11f1 lts on windows. The error is- Assets\3DGamekit\Packages\NavMeshComponents\Editor\NavMeshAssetManager.cs(44,73): error CS1061: 'PrefabStage' does not contain a definition...
View ArticleWarning messages lagging game
Every frame i am getting hundreds of messages of : "Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 7)" and "Internal: JobTempAlloc has allocations that...
View ArticleUpon opening my project, I have ALOT of Errors?
I am not sure why this is coming up. Last time I had an error like this, it said it was related to my Package Manager and Asset Store. Once I took them off the dock it was fixed. I'm unsure what these...
View ArticleUnity Hub won't open my Projects (MacOS)
I have a **macOS High Sierra Version 10.13.6** and for the past 3 weeks, I couldn't open any of my Unity projects. Unity always gives me back a text saying " **The last time you opened Unity, it...
View ArticleHow to enter a decimal number into a InputField?
As I said in the title I want to enter a number like 0.98 into a inputfield, but if I try to it's giving the same error every time. I tried to use "." instead of "," but it changed nothing. error:...
View ArticleWhy does this error occur?
![alt text][1] If I press the install button, it has been canceled. Is there any way to solve it? [1]: /storage/temp/167401-취소.png
View ArticleI am currnetly making a bullet script but i am having issues accsesing the...
public float speed; private Transform player; private Vector2 target; public float damage = 2.0f; public GameObject CoolGuy; private Health access; // Start is called before the first frame update void...
View ArticleWhy does this error occur?
![alt text][1] If I press the install button, it has been canceled. Is there any way to solve it? [1]: /storage/temp/167401-취소.png
View ArticleEvery time I create a new project this error appears in the console
D:\Unity\2019.4.11f1\Editor\Data\Resources\PackageManager\BuiltInPackages\com.unity.ugui\Runtime\UI\Core\MaskableGraphic.cs(10,54): error CS0535: 'MaskableGraphic' does not implement interface member...
View ArticleWEBGL building error with developer
Hello im trying to troubleshoot an issue and build out in development build but it errors out with the below errors when i do not build with development mode - no issues... anyone know where to look...
View ArticleMy script keeps saying the file and class are not the same,Error keeps saying...
My script keeps saying the file and class are not the same even though they are.,So I put this code in, and renamed the script to CameraPOV, and changes the class name to CameraPOV but the error keeps...
View ArticleI keep getting a nulreferenceexception: object reference not set to an...
So i am working on a game. When programing it so you can kill enemies, I started having this error. I don't know why, because the game works just fine, it just gives me an error every time I shoot. I...
View ArticleProblem with error message ,Cannot find a solution to my problem
Each time I start a project from Unity hub, it always says the same error which is ''This can happen if layout contains custom windows and there are compile errors in the project.'' I have tried many...
View ArticleWhy does my Switch statement only go through one case correctly?
I have a problem with a switch statement. This switch statement would occur when the app fails to register a player via an email (email, username and password). When I tested it, I used a username and...
View ArticleDevice Simulator - Null Reference Error
Hello! I wanted to test the Device Simulator on a very simple scene. But I'm getting these errors ![alt text][1] ![alt text][2] I'm using Unity 2020.2.0b6 Thanks in advance [1]:...
View ArticleUnity Teams Errors When Transferring
So me and my friend are trying to use unity teams to work together on a game, he got my project and most of the files transferred all good but there are a few errors that are coming up for him. I'm...
View Article