Jump to content

Console error Spam, NPC's spawning into the terrain

Pending 1.1.5

Hi,

Just noticed now in our console this:

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/tail_rotor_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/main_rotor_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/engine_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/ColliderWorld"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/tail_rotor_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/main_rotor_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/engine_col"

(23:04:38) | Infinity or NaN floating point numbers appear when calculating the transform matrix for a Collider. Scene hierarchy path "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab/RotorPivot/patrol_helicopter/ColliderWorld"

And it repeats itself endlessly, till I unload the plugin, causing a little lagg on the server.



Players reported, once the heli crashes, NPC's are in the terrain, and shooting playes - but they can't see the NPC's.

Managed to capture a screenshot yesterday, none of the 2 NPC's are visible for players.

Thanks.

 

ruste.jpg

Share this comment


Link to comment

Hello, does this happen every time or only sometimes? When the NPC's are not visible, is it inside the actual terrain or some sort of object? That looks like it could be a rock in your screenshot.

Share this comment


Link to comment

Every time.

Players avoiding the Event because the NPC's are shooting the from the terrain where the NPC's are isn't visible.

Once happend the event started on the edge of the Harbor, and the NPC's were in the water / in the terrain as well.

Thanks!

Appreciated!

Edited by CsaszyKJ

Share this comment


Link to comment

Hello, I'm going to continue doing more testing but so far I haven't been able to recreate this. I also have no other reports of it currently. The previous screenshot you sent shows the NPCs on top of the terrain but perhaps inside some object? If you could provide some screenshots/examples of objects they are stuck in that would be helpful in trying to pinpoint what may need to be changed here. Also, is there anything custom about your map that could be conflicting? Thanks

Share this comment


Link to comment

Hi,

Players reported the event crashing into their bases, and the NPC's are shooting them from under the bases.

Tonight I was able to catch this, crashed into a Raidable Bases event, and the NPC's were underground in the terrain.

Thanks

bug1.jpg

bug2.jpg

bug3.jpg

Share this comment


Link to comment

Hey, I will see what I can do about the NPCs still spawning inside of rocks in some scenarios. Sometimes there really isn't much of a valid location nearby when it crashes on a cliff like in your latest example. These are the sort of cases it may fail to spawn them properly as of now. As far as other events or even player's houses, it can crash near them as it doesn't have any logic to prevent that.

Share this comment


Link to comment

Any other Event plugin which we use - never done such thing so far as mentioned - spawning into the terrain the NPC's.

 

Thanks

 

Share this comment


Link to comment

I pushed an update which should resolve the console error spam. Please download the latest version when you have a chance.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.2k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.