Hi Guys I'm getting this console error and I don't know how to get rid of it Would someone be so kind as to help a noob out? Message: !IsNormalized (normal) sub message: (Actually there are 2 errors, line: 49 and line: 77) Assert in file: Plane.h at line: 49 I can't think I've done much different except I'm regularly replacing an imported fbx scene as it is updated in Cinema4D Cheers Boxy
You could report a bug with the project folder attached. The error alone unfortunately doesn't say enough to fix the problem alone from that.
Thanks Joachim Its qute a big folder, probably about 80mb zipped. The error doesn't seem to prevent me from building the level so I'll keep an eye on it and submit it when I get chance. Cheers Boxy
I just had the same error on the latest 2.0.2 release. It appears that the culprit is the Spotlight object which does not like range=0. Changing it to 1 fixes the problem. Hope this helps! ico
Hi Loachim, I recently got the iphone extension for unity. The first thing i did was decide to convert the the Lerpz 3D example so that it can run on iphone. The first time i build it it had heaps of errors. I fixed them by using #pragma strict. And explicitly creating variables of the correct type, instead if just inferring the type from the \"Get\" functions. Like this: function Start () { var foo : MyScript = GetComponent(MyScript); foo.DoSomething(); } Now everything compiles fine and runs in the preview window on my desktop. However i get the following assertion: !IsNormalized (normal) Assert in file: /Users/joe/iphone-clean/../Runtime/Geomertry/Plane.h at line: 67 The console is bombarded with this message all the time when the app is running. On my desktop it still runs, when i deploy it to my iTouch it gets to the menu, then after hitting play it takes ages and just resets the iphone. ( maybe running out of memory ? ) I have tried to minimize geometry by removing allot of the level geometry leaving on Lerpz on his 1 platform. Reduced overall filesize by heaps, but still crashes the iphone. Any ideas ? Kind Regards Geoff Brown
We are aware of this issue in the iPhone version of Unity. It will be fixed with the next iPhone release.
It's easy, your camera near clip is too near. Mine was at 0,0001. I changed it for 0,01 and it stopped spaaming !IsNormalised(normal) in console. If it doesn't work look for other 4 decimal value near 0 in lights or cameras. - Zender
I got the same error when adding a SpotLight to a GameObject. This code generated the error: Code (csharp): GameObject spotLight = new GameObject("spotLight"); spotLight.AddComponent<Light>(); spotLight.light.type = LightType.Spot; spotLight.light.range = 1000; But this did not: Code (csharp): GameObject spotLight = new GameObject("spotLight"); spotLight.AddComponent<Light>(); spotLight.light.range = 1000; spotLight.light.type = LightType.Spot;
I'm still learning, and am running into this as well. I have a terrain, a camera, two spotlights following two wheels rolling over the terrain. Immediately, even when setting things in the editor and not just when pressing the test play button, I get dozens of messages saying: !IsNormalized( Normal ) and the log claims an assertion: (Filename: /Applications/buildAgent/work/71ca6fec1b41cc30/Projects/../Runtime/Geometry/Plane.h Line: 71) I presume some vector ends up being zero somewhere where it shouldn't, but how? What? I tried everything. When I even so much as touch a camera or light, this comes up. What could it be?
...oh, and I also get this: "!IsNormalized (normal) UnityEditor.DockArea:OnGUI()" and then the same assert as above, claiming there is an error "in file"?!