Quantcast
Channel: Questions in topic: "warnings"
Browsing all 187 articles
Browse latest View live
↧

Monobehaviour warning for new keyword

//class name - Vectors() #pragma strict var target : Rigidbody; private var Dir : Vector3; Dir = transform.position; private var px : Vector3= Vector3(2,2,2); function Update () {...

View Article


After 4.3 uprade, Xcode warning "ld: warning: PIE disabled. Absolute...

This new warning appears in all iOS projects I build from Unity 4.3. Responses to [this question][1] indicate from many (but not all!) that Apple does not reject apps over this. I know how to hide the...

View Article


Walker Boys tutorial error

I am getting the following error: Trying to Invoke method: scriptSceneManager.CountDown couldn't be called. Code: //scene manager sctipt //inspector variables public var GameTime : float = 60; static...

View Article

Static function won't call another static function

If I try doing this: static function f() { go(); } static function go() { yield; } I will get an error saying: UCW0004: WARNING: Coroutine 'go' cannot be automatically started from a static function....

View Article

Several shader warnings with Unity's SSAO image effect

I have a problem with Unity's SSAO shader. I get the following warnings: Shader warning in 'Hidden/SSAO': GLSL vertex shader: 335: ERROR: ']' : syntax error parse error at line 60 Shader warning in...

View Article


MissingComponentException: There is no 'Camera'

MissingComponentException: There is no 'Camera' attached to the "CoinPrefab" game object, but a script is trying to access it. You probably need to add a Camera to the game object "CoinPrefab". Or your...

View Article

Warning text color not visible in MonoDevelop

Is it only me, who can't see the tokens with a warning on it in MonoDevelop? I can't find any postings about this problem. Regardless which color scheme I'm trying the color of the tokens is always...

View Article

Xcode warnings: Potential leak of an object and Dead store

Hey, Just started getting quite a few warnings in Xcode when building for iOS. Among them are: **Potential leak of an Object** and **Dead store**. Anyone else experiencing this? Can I / Should I do...

View Article


Script attached to 'Main Camera' in scene '' is missing or no valid script is...

I keep getting this error after the build, and it makes the camera looking messed up. There's nothing wrong with the mouse look script, and everything works fine in the unity game engine, but for some...

View Article


xcode 5 issues

hi, i got 7 issues when i build/run my app in xcode 5. here is an image of what i got : ![alt text][1] 1- Should i change it ? 2- I don't know what to do 3- i solved it by changing manually the icons...

View Article

Applying Damage to enemy script not working

I made two scripts, one is called MeleeSystem which is responsible for getting the distance between me and an enemy object/player and based on that, apply 20 damage to that object's health, which is...

View Article

Annoying Warnings for Script cant figure it out

Heres the error code: "You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can...

View Article

Why is this script not working? (SendMessage)

I have two scripts. One on a wall, another on a ball. I'm trying to access a void from one script, in a different script. Here is the script with the function: public void ResetBall () { var rigY =...

View Article


Unity Editor launches game much more slowly after 2nd time

Have a weird problem that has shown up recently, my game will launch fine if upon my first starting up Unity, but the 2nd time and subsequent times, it will take 5 to 10 times longer to launch. From...

View Article

Are Profiler Warnings documented?

The only thing I can find is this in the 4.3 release notes: Profiler: Some samples are now tagged as warnings in the CPU profiler (i.e. moving of a static collider). The warnings are shown as a count...

View Article


New Monobehaviour warning - instantiating unattached functions

Hello, the compiler is giving me warnings with the "map[x,z] = new Block();" section of code. void BaseMap() { bool x_color = true; bool y_color = true; for(int x = 0; x < sizex; x++) { x_color =...

View Article

Implicit downcast from Object to boolean

I am running into the warning stating "Implicit downcard from 'Object' to 'boolean'." And it has been annoying me for quite some time now. I have been searching around and haven't come up with anything...

View Article


Missing File Warnings in Xcode

I've removed some files from my Unity project (or moved some others) and I get warnings in Xcode that they are missing. I've removed the Dervied Data and rebuilt the project cleanly (rather than...

View Article

Warning: "Can not play a disabled audio source"

Hello everyone! I recently got Unity 3.5 and I'm having an error everytime I try to play an AudioSource. The sound is a 2D sound and is in a prefab. Upon activating the sound I get the error(warning);...

View Article

Compilation failed because the compiler couldn't be executed! ?

So...i have this error: Could not start compilationWin32Exception: ApplicationName='"C:/some ol' bullshit/Unity/Editor/Data/Mono\bin\mono.exe"', CommandLine='"C:/some ol'...

View Article
Browsing all 187 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>