Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I've tried it on my home PC again and it seems that you may be using a few synchronization calls too many per frame.
You may shave of some cycles if you wrap the sync-call routine into a function that checks if it has been called before in the current frame and only updates the sync variables during the first call.

as for checkpoint hp restore: now that I have thought some more on it, it doesn't actually need to be a full restore, a restore to 25% should suffice (for those cases where one triggers the checkpoint while at one hitpoint left.)

What do you mean by synchronization calls?
I am afraid I am too new in Unity to know how this is done, would you be able to help with it please?

I may have been a bit too tired, but a frequent warning given by the webconsole is:

warning: 2 FS.syncfs operations in flight at once, probably just doing extra work.