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)
Files
Get Black Market
Black Market
Status | Prototype |
Author | Vitalii Zavoloka |
Tags | Ludum Dare 44, playstation, PSX (PlayStation), Survival Horror, Unity, vhs |
Leave a comment
Log in with itch.io to leave a comment.