How to Fix Error CS0029: Cannot implicitly convert type...
Im trying to make a counter that counts in decimal, hexadecimal, octal, and binary, and also want to make a button that decreases each of the counter's values individually by one. Here's my code :...
View ArticleCannot play a disabled audio source?
So I've been struggling over my code for a few hours with no luck. I'm trying to play and audio clip when walking into a box collider on top of a sword. But instead of playing the audio clip, I get the...
View ArticleWhat is this error message ? "Broken text PPtr in File"
Hello all, I've been receiving this error message since morning after downloaded my colleague's Update from Collab. and I have no idea what causes it, Can someone explain this. . "Broken text PPtr in...
View ArticleMoving file failed (Temp/Backupscenes) when starting Game Mode - every Unity...
I have worked with Unity for a few years now, and never had this problem. But now it suddenly happens with every single project (even with almost empty new test projects) in every unity version, as it...
View ArticleUnity Windows Build not Showing up
When I hit "build" or "build and run", Unity goes through the process of baking lightmaps and creates it's sharedassets, but near the end it just gives up and spits this guy at me>...
View Article';' expected. Insert a semicolon at the end. Already have one
Not sure what is happening, here's my script. Happen on "float dist" line. #pragma strict var item : GameObject; function Start () { gameObject.transform.localRotation = Quaternion.Euler(0,0,0); }...
View Articleserialized save and load not working in onEnable (SerializationStream...
Hello! I've been working on a rather large and complex save and load (so I won't give all the code for everyone's sake). So far I've tested it out in the game and it works fine. I press a button to...
View ArticleNullReferenceException: Object reference not set to an instance of an object
![alt text][1] hello im new at unity please help me [1]: /storage/temp/106147-ekran-alıntısı.png
View Article"Could Not Produce Class with ID 1108" error
So I did a test build of the game and everything worked fine until I actually reached gameplay, when I got a ton of "Could not produce class with ID 1108" errors. Looking at the console in Unity it...
View ArticleAssertion failed: Removing Assets/Scripts/MyScript.cs because the asset does...
I renamed `Assets/Scripts/MyScript.cs` to `Assets/Scripts/NewName.cs` and now I get a persistent error message even when I reload my project: Assertion failed: Removing Assets/Scripts/MyScript.cs...
View ArticleXbox Unity D3D11 Failed to Create 2d Texture to GfxDeviceD3D11
My animations don't work on the xbox uwp but work fine on windows. I am both running my game via VS x64 remote and after doing that running it on the xbox by just clicking on my game app. here's the...
View ArticleI have a problem with my code please help
Update has an error which is "The body of 'movement.Update()' cannot be an iterator block because void is not an iterator type" it repeats that message(minus the double quotes) 4 times any help would...
View Articlehow do I solve 'VR: OpenVR Error! OpenVR failed initialization with error...
Hi, When I run my scene in Unity I get the following error: 'VR: OpenVR Error! OpenVR failed initialization with error code VRInitError_Init_PathRegistryNotFound: "Installation path could not be...
View ArticleIssue with Reward Ad Playing
Im sure my issue has been asked before so I apologize in advance. If someone can help me get this working, I will reward points!!! Okay so I downloaded a file for this app im making. Its supposed to...
View ArticleHow do i fix this?,How do i fix this script
NullReferenceException: Object reference not set to an instance of an object PlayerMotor.PerformMovement () (at Assets/PlayerMotor.cs:32) PlayerMotor.FixedUpdate () (at Assets/PlayerMotor.cs:24) using...
View ArticleFalse Error: Object reference not set to instance of object
Hi, I have a C# script: public class FPS_GunController : MonoBehaviour { public GameObject gun; public Gun gunScript; // Use this for initialization void Start () { gunScript =...
View ArticleError with String in code
Hey guys Im trying to make a Reward Ad Button in my game. Unity documentation tells me to copy this code into an empty script and attach it to a game object. This is the only error I get: Expected...
View ArticleVersy confusing argumentoutofrangeexception error
After loading up my project today, my computer spat out this: ![alt text][1] [1]: /storage/temp/103159-pastedimage.png I am very unsure of what I did for this to happen, as the last thing I did in my...
View ArticleUnable to parse YAML file - In every single project.
Yeah so iv'e been getting this strange error, that doesn't actually give trouble but as i want my game completely error free before shipping so it has to go way or another. **"Unable to parse YAML...
View ArticleWarning: Type conflicts with the imported type
I can't wrap my head around this warning, and I'm not sure if it's actually important but I'm trying to find out. I've scoured the forums and couldn't find a solution that works in my case, though it's...
View Article