CS1525: Unexpected symbol '{'
I was creating a survival game and when I was editing for when I hit the tree she fell gave this error using System.Collections; using System.Collections.Generic; using UnityEngine; public class...
View Article'invalid generated path' when I create a new file
I am reciving errors in the console similar tho the following whenever I attempt to create a file in the unity editor: `Assertion failed: Assertion failed on expression:...
View ArticlePrivate Field is assigned but its value is never used, but i use it
Hello everybody, i'm working on a 2D Platformer for Android and i've got a problem with my code it says i dont have the moveVelocity assigned but in my eyes i'm using the field later in my code. I...
View ArticleUnityEngine.component.rigidbody2d.AddForce(UnityEngine.Vector2) is a 'method'...
Hi, I'm still very new to Unity and C# in general, so bear with me. I am following [this](https://unity3d.com/learn/tutorials/topics/2d-game-creation/top-down-2d-game-basics) tutorial I found on the...
View ArticleWhat does "RenderTexture: Resolving NULL surfaces." means? How to solve it.
RenderTexture: Resolving NULL surfaces. showing this error in my console as warning. On clearing it`s not clearing. Need help Please!
View ArticleSpace Shooter: Ending the Game
I am trying to complete the Space Shooter game, but am having issues with the Game Over text and Restart text not showing up. I have gotten as far as the "Ending the Game" video, and so far everything...
View ArticleWhat is problem? Assets/classs.cs(14,10): error CS0131: The left-hand side of...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class classs : MonoBehaviour { public GameObject light; TOD_Sky ts; // this is script public int time=19; void...
View ArticleI don't understand this build error
I did not use the Nature/SpeedTree shader at all in my project. Neither did I use any shaders from the Nature category, or any custom shaders. However whenever I build my project, I get the 2 error...
View ArticleI keep getting UnwrapCl.exe has sopped working error
This issue stared a couple of days ago for no reason I can think f. I am using unity 2017 3.0f3 The error occurs when I Build easy Roads Network. I am new to unity so dont understand the technical side...
View ArticleFile error on new project
When I start a new project in Unity 5 (3D or 2D) Unity gives me a error: "ProjectName/library/metadata/00/000000000000000100000000000000.info: The oparation was completed incorrectly". When I press Try...
View Articleini file problem on latest beta release
![alt text][1] [1]: /storage/temp/111285-unity-install-problem-2018017.png anybody know how to fix this i got also for web gl
View ArticleUnity error during android apk build : Gradle build Failed
I am trying to build an apk file with Unity 2017.30f3 (64bit) on a Windows 10 PC. I get the following errors in the console: -ERROR 1 CommandInvokationFailure: Gradle build failed. C:/Program...
View ArticleWhat can I do to resolve these build failure errors?
I get the following errors when I attempt to build my Android app. Any help would be greatly appreciated, thank you.![alt text][1] [1]: /storage/temp/111482-build-failure-errors.png
View ArticleIndexOutOfRangeException: Array index is out of range.
I copied a script and its not working, please help me. using System.Collections; using UnityEngine; public class Spawner : MonoBehaviour { public GameObject[] enemies; public Vector3 spawnValues;...
View ArticleNullReferenceException: Object reference not set to an instance of an object...
Yesterday it work Fine But, when I open today this error popup. "NullReferenceException: Object reference not set to an instance of an object StoredPref.retrieveData () (at Assets/StoredPref.cs:18)"...
View ArticleArray Index is out of range
Hello, I am currently writing my crafting script that uses UI (as you will probably see in the script). I have my for loop in AssignRecipes that is called from my main inventory script. This method...
View ArticleDefinition error with float and transform - Error CS1061
A couple of weeks ago when I wrote the following script, it worked just fine, teleporting the game object that I wanted teleported randomly around the scene. When I loaded it up today I got this error:...
View ArticleBuild error,How do you prevent this errorwhen you build?
when I build my multiplayer game the error: UnityPlayer.dll caused an Access Violation (0xc0000005) in module UnityPlayer.dll at 0033:897fecdf.,
View ArticleError "The prefab 'MyUsableObject' has multiple NetworkIdentity components."
Hi there, I'm at an Intermediate Unity level at max (more like an experienced Beginner) and I try to do some Network stuff for the first time. My goal is to build a little prototype where a player can...
View ArticleThe namespace 'global::' already contaiins a definition for 'NewBehaviourScript'
I think the script itself is fine so I won't upload it. I thought I could drag and drop my script into the Inspector. When I attempted to create a new script Unity opened visual studio and wanted a new...
View Article