DontDestroyOnLoad does not exist in 2019.1?
Getting:> error CS0103: The name 'DontDestoyOnLoad' does not exist in the current context from the following simple case: using System.Collections; using System.Collections.Generic; using...
View Article"The associated script cannot be loaded."
Hi everyone, I'm not sure if this is the right place to post this, please tell me if it's wrong. I'm still a beginner at using Unity, and an error keeps showing up when I try to put a script on a...
View Article"The associated script cannot be loaded"
Hi everyone, I'm not sure if this is the right place to post this, please tell me if it's wrong. I'm still a beginner at using Unity, and an error keeps showing up when I try to put a script on a...
View Articlecan you please try and identify my error and why it is there
error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line Code - using UnityEngine; public class TerainGenerationTest : MonoBehaviour { public int depth = 20;...
View ArticleWebGL only showing an empty folder after building. How to fix?
Hello. I've been trying to export my game but I'm stuck at one point. After its done building, and I click on my folder, all that shows up is an empty folder. I'm sure that it's supposed to display the...
View ArticleFailed to initialize unity graphics linux running Centos,Failed to initialize...
When I open a new project in Unity I am prompted with the error message: "Failed to initialize unity graphics". I have seen others with this problem but most/all are running Windows or Linux with...
View ArticleI Keep Getting Error After Implementing AdMob IDK what it means
java.lang.Error: FATAL EXCEPTION [main] Unity version : 2019.2.0b3 Device model : samsung SM-G935P Device fingerprint: samsung/hero2qltespr/hero2qltespr:8.0.0/R16NW/G935PVPS9CSD1:user/release-keys...
View ArticleCS0117 Error
I just created a new project, added packages "2D IK" "2D Pixel Perfect" "2D PSD Importer". And i've got this: **Library/PackageCache/com.unity.burst@1.0.2/Editor/BurstAotCompiler.cs(358,62): error...
View ArticleANDROID PLAYER SETTINGS NOT SHOWING BUT THE OTHERS DO :
Help please ! I am tired of all the stuff that happens with android and unity... There my android player settings are only showing a clock and not what i want... But mac/window and IOS settings are...
View ArticleWhen I apply the script, I get an error message.
When I apply the script, I get an error message. I want to know what it is. How to fix it? FileNotFoundException: Could not load file or assembly 'Assembly-CSharp' or one of its dependencies...
View Articleerror CS0117: `UnityEngine.Graphics' does not contain a definition for...
// apply bokeh candidates Graphics.SetRenderTarget(dest2); ComputeBuffer.CopyCount(cbPoints, cbDrawArgs, 0); dx11bokehMaterial.SetBuffer("pointBuffer", cbPoints);...
View ArticleThe name 'origScale' does not exist in the current context
I'm getting the error: The name 'origScale' does not exist in the current context This is the full script public class HealthCollectible : MonoBehaviour { public float frequency = 1.3f; public float...
View ArticleHow do I fix this Text Mesh Pro Error?
Unity keeps spitting out this error for 'textmeshpro' and it seems to also be preventing me from scripting. The error hasn't been solved with reinstall or by removing Text Mesh Pro from the library....
View ArticleMax renderers and sorting groups on scene?
Got this error: "Number of renderers and sorting groups handled (4096) is greater than the limit (4095), Sorting Group is disabled." Ite's strange, because I have on scene: sprites - 4236 sorting...
View ArticleUsing entities and jobs
Below is my code, and I do not know what to do with the errors public class TestFinal : MonoBehaviour { [SerializeField] private Mesh mesh; [SerializeField] private Material material; public Texture2D...
View ArticleInteractive Hexagon Map Errors
So, i'm making this Hexmap for a school assignment i'm working on, but suddenly when i was trying to test if it worked, the "highlight" of the cells seems all jumbled up, instead of highlighting the...
View Articlewhy do i keep getting errors CS0101 and CS1011 on my console unity?
These are the errors I am getting: 1.Assets\scripts\PlayerCollision.cs(4,14): error CS0101: The namespace '' already contains a definition for 'PlayerCollision'...
View ArticleUnity 2019.3.0a2 Post processing compile error
Library\PackageCache\com.unity.postprocessing@2.1.7\PostProcessing\Runtime\PostProcessLayer.cs(401,27): error CS0117: 'SystemInfo' does not contain a definition for 'usesLoadStoreActions' This error is...
View ArticleHow do I take care of over 60 error messages?
After I updated Unity to 2019.1.7 and reimported my previous project to the version, the console is overwhelmed with error messages such as this....
View ArticleError: 'failed to open source file: 'CoreRP/ShaderLibrary/Common.hlsl' what...
Error msg: Shader error in 'HDRenderPipeline/Lit': failed to open source file: 'CoreRP/ShaderLibrary/Common.hlsl' at line 282 (on d3d11) Unity Version : 2019.3.0a6 (HDRP/LRP) I've been playing around...
View Article