NEBULOUS: Fleet Command

NEBULOUS: Fleet Command

Not enough ratings
Look Rotation Viewing Vector
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod, Tweak
File Size
Posted
Updated
960.770 KB
2 May, 2023 @ 6:41am
2 May, 2023 @ 8:10am
2 Change Notes ( view )

Subscribe to download
Look Rotation Viewing Vector

Description
Patches Unity's implementation of Quaternion.LookRotation to only generate logs when the vector magnitude is zero once every 1000 times.

This mod is intended as a quick hack to improve performance when a bug in the base game is triggered, skipping some logging. I believe this can be ran in dedicated servers, helping reduce slowdowns and the chance of player disconnects.

Current version: 0.2

Change Log
- 0.2: Print error with stack trace every 1000 occurrences (thanks Mazer for suggestion)
- 0.1: Initial version