Performance hot-fixes!


It's took me almost a whole day working around Unity profiler.

Fortunately I was able to fix most of things caused performance issues.

- Baked light on the scene
- Threw away useless global illumination (which was enabled by default)
- Switched every light source type to Mixed (instead Realtime)
- Increased time for Physics calculations

My greetings to the following call stacks :
------------------
Physics.Processing
FixedUpdate.PhysicsFixedUpdate
Pxs.AABBManager.SingleAABB
Pxs.Context.ContactManagerDiscreteUpdate
Pxs.Context.CCDAdvanced
PXs.Context.UpdateCCDsinglepath

- Removed unused code from Asset Camera script (FixedUpdate())
- Reduced the amount of polygons on some Meshes. (Couple of them I was forced to remove at all)
- Reduced rain VFXs
- Fixed shoot aim Raycaster (now it's more accurate, but not perfect yet )
- Tweaked the in-game balance (monster health, revolver damage)
- Minor SFX fixes
- Added game state output (top-left corner)

Result (from left - to right):



P.s  : It may be an obvious tip, but try to hide `Scene` tab every time during the profiling.
Otherwise it takes ~x3 amount of resources  (even without editor overhead)

Enjoy!

Files

black-market-win-performance-hotfix.zip 91 MB
May 01, 2019

Get Black Market

Leave a comment

Log in with itch.io to leave a comment.