Problem with OrderBy
Hello, i am new in Unity and i watch tutorials from Udemy. I need your help about something. I have the following code : using System.Collections; using System.Collections.Generic; using System.Linq;...
View Articleif statement in a get function
So I'm working on a project with a camera where i have the camera but other team members don't so i have 2 different object groups 1 virtual and 1 that works with the camera. So I'm trying t make a...
View ArticleHow can I baked Lighting with a large scene?
hello, I have some problem when I baked lighting with a large scene.(Unity 2017.1.0f3) I creat a city in this scene,and not more than 100 building. In realtime GI is good, but I want to try baked GI...
View ArticleWhat i can do with Type Load Exception Unity3d
When i start in Unity my project,where in console i see this: "TypeLoadException:Could not resolve type with token 010000b3 System.MonoCustomAttrs.IsDenied (System.Reflection.ICustomAttributeProvider...
View ArticleError CS201
Guys im new in c# and unity can u help me? im trying to make reload animation for gun and i get this error Only assignment, call, increment, decrement, await, and new object expressions can be used as...
View Articlehow can i fix this error? cs0501
im trying to make a platformer for ios but i cant get the int code to work for the buttons. it just says Assets/Scripts/Player.cs(10,14): error CS0501: 'Player.move(int)' must have a body because it is...
View ArticleUnity Ads throwing errors at me!!!!
I keep on getting the error `error CS0103: The name `Advertisement' does not exist in the current context ` The ads were working fine until one day I opened my project and it no longer worked. I have...
View ArticleNullReferenceException by detecting health
Hello everyone, I'm working on a fps zombie game, currently I'm writing the code for the AI of the zombies. My AI use a detection for don't attacking a player already dead, for detect this I use this...
View ArticleHelp with raycast!!
I need to set a script that when i click on the Enemy gameObject appears, in top of the screen , the life and the name of the Enemy.... Now i' am using the raycast: ---------- void Update () { if...
View ArticleC# error CS 1002 " ; expected "
Can someone help me with this error? Here is my code: using UnityEngine; public class PlayerCollision : MonoBehaviour { public PlayerMovement movement; public GameManager gameManager; public...
View ArticleNullReferenceException: Object reference not set to an instance of an object....
Hi! I want to make script that will change camera on "E" button when player is standing in trigger, but when I change Camera to Car camera (CCamera) then this error is displaying. Please help, thank...
View ArticleCan't access rigidbody commands 'Rigidbody' does not contain a definition for...
I am trying to write this: public void Speedboost(Rigidbody m_Rigidbody) { Vector3 OriginalSpeed = m_Rigidbody.velocity; } I want to access the velocity of the Rigidbody, but it triggers an error that...
View Articlehttp://support.microsoft.com/kb/976038 to ensure stability
Your 64 bit Windows installation is missing an important service pack patch. Please apply http://support.microsoft.com/kb/976038 to ensure stability
View ArticleNullReferenceException error
so i was watching toutorials and i had code for AI and i reloaded to find it broken using UnityEngine; public class enemy : MonoBehaviour { public float speed = 10f; private Transform target; private...
View ArticleAssertion failed: Invalid worldAABB. Object is too large or too far away from...
Hi all, i habe some trouble with my Coin Pusher Scene. I've made a simple Coin Pusher with two small little scripts. The first one is moving the plattform and the second one will instantiate a coin...
View ArticleGames runs perfectly on editor but error on build
![alt text][1] Games runs without any problems in the editor, but when im about to build it this error pops. [1]: /storage/temp/98932-xxx.png
View ArticleCan't access the velocity of a rigidbody: 'Rigidbody' does not contain a...
From what I understand you can access the speed value of a rigidbody by typing: rigidbody.velocity for some reason it gives me the error: 'Rigidbody' does not contain a definition for 'velocity'...
View ArticleNavmesh spam console when desactivated
Hello ! I finished my zombie AI script, the zombie chase the player, when he's close of the player, he stop his nav mesh agent for attacking. Same when he dies, nav mesh agent have to be deactivated...
View ArticleNamespace error from external assets
Hi everyone, english is not my first language so i'll try to explain you the problem as well as i can. I'm working on a project compiled from many people before me so i don't really know what did they...
View ArticleError: "Mesh doesn't have albedo UVs. Please create them in your modelling...
Hey out there, I have the error:"Mesh doesn't have albedo UVs. Please create them in your modelling package." in some scenes. Is there any way to work around this? Because it is a simle low poly game...
View Article