"Look rotation viewing vector is zero"
When Unity detect a collision problem, some NPC stucked, just gives a SPAM of this string on console, and I supouse that nothing more, just advice...
Will be great if this is spammed more than 10 times, just do an Auto-RESET ANIMALS on the map, and check if this fix the spam, if this is not fixed, then Advice that the problem can be some NPC stucked somewhere or another thing. Then the admin will check.
Will be great to advice the exact location of the problem too.
[Im sure Wulf or some mod of the community will have a better name for this thread]
Solved Look rotation viewing vector is zero
Discussion in 'Rust Discussion' started by Boss_pepe, Jan 17, 2015.
-
The error can (but not must) be caused by lots of stuff, probably by any plugin using Quaternion functions.
The error comes from The "Quaternion" class, which could be caused by input like this:
Code:Quaternion.LookRotation(Vector3.zero); //or Quaternion.LookRotation(new Vector3(0,0,0)); //or giving out similar results to zero
Plz do a text search through all your plugins files and tell us, which of them do use "LookRotation". Maybe it leads to success. -
I just suggest this Plugin for "help to fix" the problem with animals stucked or similar.
But I only had this problem 3 times, some weeks ago and 2 days ago.
Then... a Plugin that looks for the problem... will be fine
aaaaaaaaaaaaaaaand
the problem the 3 times was with animals, I just RESET ANIMALS from RustAdmin, and all worked fine, I am not using NPCs from 3 or 4 wipes ago -
what?
Who merge my post?
I was asking for a Plugin, for at least a autoreset animals when this error.
I supouse a Plugin request is not the same that a Discussion. -
Just a FYI : I fixed this error by removing the plugins that contained "LookRotation" like FujiKura recommended. When I removed the NPC & Waypoints & PathFinder plugins, the error went away.
I only had 3 npc's on my server, but this is the second time this error has spammed my server console, so Im guessing one of the NPC's got stuck somewhere or something? -
anyone no what this or what plugin could be causing this.
Look rotation viewing vector is zero
(Filename: Line: 82)
Look rotation viewing vector is zero
(Filename: Line: 82)
Look rotation viewing vector is zero
(Filename: Line: 82)
Look rotation viewing vector is zero
(Filename: Line: 82)
Look rotation viewing vector is zero
(Filename: Line: 82)Attached Files:
-
-
reload the animals or check if you have HumanNPC.. if there are well spawned
-
Code:
(16:42:07) | Look rotation viewing vector is zero
del assets/bundled/prefabs/autospawn/animals
but aint working anymore. Is is there any solution?
BTW: I do not have HumanNPC on the server -
Wulf Community Admin
-